Namespaces

Classes

stub class representing AMQPBasicProperties from pecl-amqp

stub class representing AMQPChannel from pecl-amqp

stub class representing AMQPChannelException from pecl-amqp

stub class representing AMQPConnection from pecl-amqp

stub class representing AMQPConnectionException from pecl-amqp

stub class representing AMQPDecimal from pecl-amqp

stub class representing AMQPEnvelope from pecl-amqp

stub class representing AMQPEnvelopeException from pecl-amqp

stub class representing AMQPExchange from pecl-amqp

stub class representing AMQPQueue from pecl-amqp

stub class representing AMQPTimestamp from pecl-amqp

The APCIterator class

The APCUIterator class

The Aerospike client class

An Iterator that iterates over several iterators one after the other.

ArgumentCountError is thrown when too few arguments are passed to a user defined routine.

ArithmeticError is thrown when an error occurs while performing mathematical operations.

This iterator allows to unset and modify values and keys while iterating over Arrays and Objects.

This class allows objects to work as arrays.

AssertionError is thrown when an assertion made via {assert()} fails.

Blackfire extension stubs.

COM

The COM class allows you to instantiate an OLE compatible COM object and call its methods and access its properties.

This object supports cached iteration over another iterator.

Filtered iterator using the callback to determine which items are accepted or rejected.

The main entry point to the PHP Driver for Apache Cassandra.

Class used to represent anonymous functions.

Class CompileError

The DOMAttr interface represents an attribute in an DOMElement object.

The DOMCdataSection inherits from DOMText for textural representation of CData constructs.

The DOMCharacterData class represents nodes with character data.

The DOMComment class represents comment nodes, characters delimited by lt;!-- and -->.

The DOMDocument class represents an entire HTML or XML document; serves as the root of the document tree.

The DOMDocumentFragment class

The DOMDocumentType class

The DOMElement class

The DOMEntity class represents a known entity, either parsed or unparsed, in an XML document.

Extends DOMNode.

The DOMImplementation interface provides a number of methods for performing operations that are independent of any particular instance of the document object model.

The DOMNamedNodeMap class

The DOMNode class

The DOMNodeList class

The DOMNotation class

The DOMProcessingInstruction class

The DOMText class inherits from DOMCharacterData and represents the textual content of a DOMElement or DOMAttr.

The DOMXPath class (supports XPath 1.0)

The DOTNET class allows you to instantiate a class from a .Net assembly and call its methods and access its properties.

Representation of date interval. A date interval stores either a fixed amount of time (in years, months, days, hours etc) or a relative time string in the format that DateTime's constructor supports.

Representation of date period.

Representation of date and time.

Representation of time zone

Instances of Directory are created by calling the dir() function, not by the new operator.

The DirectoryIterator class provides a simple interface for viewing the contents of filesystem directories.

DivisionByZeroError is thrown when an attempt is made to divide a number by zero.

The EmptyIterator class for an empty iterator.

Error is the base class for all internal PHP error exceptions.

Ev

Ev is a singleton providing access to the default loop and to some common operations.

Class EvCheck

Class EvChild

Class EvEmbed

Class EvFork

Class EvIdle

Class EvIo

Class EvLoop

Class EvPeriodic

Class EvPrepare

Class EvSignal

Class EvStat

Class EvTimer

Class EvWatcher

Event.
EventBase.
EventBuffer.
EventBufferEvent.
EventConfig.
EventDnsBase.
EventHttp.
EventHttpConnection.
EventListener.
EventSslContext.
EventUtil.

Exception is the base class for all Exceptions.

Class FANNConnection

FFI

FFI class provides access to a simple way to call native functions, access native variables and create/access data structures defined in C language.

The Filesystem iterator

This abstract iterator filters out unwanted values. This class should be extended to implement custom iterator filters. The FilterIterator::accept must be implemented in the subclass.

Class GEOSGeometry

Class GEOSWKBReader

Class GEOSWKBWriter

Class GEOSWKTReader

Class GEOSWKTWriter

GMP

Class: GearmanClient

Class: GearmanJob

Class: GearmanTask

Class: GearmanWorker

Generator objects are returned from generators, cannot be instantiated via new.

Iterates through a file system in a similar fashion to glob.

The InfiniteIterator allows one to infinitely iterate over an iterator without having to manually rewind the iterator upon reaching its end.

IntlChar provides access to a number of utility methods that can be used to access information about Unicode characters.

The methods and constants adhere closely to the names and behavior used by the underlying ICU library.

This iterator wrapper allows the conversion of anything that is Traversable into an Iterator.

Class Judy.

Contains various information about errors thrown by libxml. The error codes are described within the official xmlError API documentation.

The LimitIterator class allows iteration over a limited subset of items in an Iterator.

Lua

The LuaSandbox class creates a Lua environment and allows for execution of Lua code.

Represents a Lua function, allowing it to be called from PHP.

Represents a connection to a set of memcache servers.

Represents a connection to a set of memcached servers.

The connection point between MongoDB and PHP.

A connection between PHP and MongoDB. This class is used to create and manage connections See MongoClient::__construct() and the section on connecting for more information about creating connections.

Represents a database collection.

Result object for database query.

Instances of this class are used to interact with a database.

A unique identifier created for database objects.

An Iterator that sequentially iterates over all attached iterators

This iterator cannot be rewinded.

The OAuth extension provides a simple interface to interact with data providers using the OAuth HTTP specification to protect private resources.

Manages an OAuth provider class.

OCI8 Collection functionality.

OCI8 LOB functionality for large binary (BLOB) and character (CLOB) objects.

OCI8 Collection functionality.

OCI8 LOB functionality for large binary (BLOB) and character (CLOB) objects.

PDO

Represents a connection between PHP and a database server.

(PHP 5 >= 5.1.0, PHP 7, PECL pdo >= 1.0.0)
Represents a prepared statement and, after the statement is executed, an associated result set.

This extended FilterIterator allows a recursive iteration using RecursiveIteratorIterator that only shows those elements which have children.

ParseError is thrown when an error occurs while parsing PHP code, such as when {eval()} is called.

The Phar class provides a high-level interface to accessing and creating phar archives.

The PharData class provides a high-level interface to accessing and creating non-executable tar and zip archives. Because these archives do not contain a stub and cannot be executed by the phar extension, it is possible to create and manipulate regular zip and tar files using the PharData class even if phar.readonly php.ini setting is 1.

The PharFileInfo class provides a high-level interface to the contents and attributes of a single file within a phar archive.

A class for working with PHP tokens, which is an alternative to the {token_get_all()} function.

(PECL pthreads >= 2.0.0)
A Pool is a container for, and controller of, an adjustable number of Workers.
Pooling provides a higher level abstraction of the Worker functionality, including the management of references in the way required by pthreads.

Class for creation of RRD database file.

Class for exporting data from RRD database to image file.

Class for updating RDD database file.

This class represents a RAR archive, which may be formed by several volumes (parts) and which contains a number of RAR entries (i.e., files, directories and other special objects such as symbolic links).

A RAR entry, representing a directory or a compressed file inside a RAR archive

This iterator allows to unset and modify values and keys while iterating over Arrays and Objects in the same way as the ArrayIterator. Additionally it is possible to iterate over the current iterator entry.

(PHP 5 >= 5.4.0)
RecursiveCallbackFilterIterator from a RecursiveIterator

The RecursiveDirectoryIterator provides an interface for iterating recursively over filesystem directories.

This abstract iterator filters out unwanted values for a RecursiveIterator.

Can be used to iterate through recursive iterators.

This recursive iterator can filter another recursive iterator via a regular expression.

Allows iterating over a RecursiveIterator to generate an ASCII graphic tree.

Helper autocomplete for php redis extension

Helper autocomplete for php redis extension

Helper autocomplete for php redis cluster extension.

Helper autocomplete for phpredis extension

The reflection class.

The ReflectionClassConstant class reports information about a class constant.

The ReflectionExtension class reports information about an extension.

The ReflectionFunction class reports information about a function.

A parent class to ReflectionFunction, read its description for details.

The ReflectionGenerator class reports information about a generator.

The ReflectionMethod class reports information about a method.

The ReflectionObject class reports information about an object.

The ReflectionParameter class retrieves information about function's or method's parameters.

The ReflectionProperty class reports information about a classes properties.

The ReflectionReference class provides information about a reference.

The ReflectionType class reports information about a function's parameters.

This iterator can be used to filter another iterator based on a regular expression.

Represents SNMP session.

A class that interfaces SQLite 3 databases.

A class that handles result sets for the SQLite 3 extension.

A class that handles prepared statements for the SQLite 3 extension.

Represents an unbuffered SQLite result set. Unbuffered results sets are sequential, forward-seeking only.

SVM

Support Vector Machine Library

The SVMModel is the end result of the training process. It can be used to classify previously unseen data.

SessionHandler a special class that can be used to expose the current internal PHP session save handler by inheritance. There are six methods which wrap the six internal session save handler callbacks (open, close, read, write, destroy and gc).

Thrown for error conditions on fields such as $depth that are not expected to be from user-provided JSON, with similar behavior to php 8.0.

Represents an element in an XML document.

The SimpleXMLIterator provides recursive iteration over all nodes of a SimpleXMLElement object.

The SoapClient class provides a client for SOAP 1.1, SOAP 1.2 servers. It can be used in WSDL or non-WSDL mode.

Represents a SOAP header.

Represents parameter to a SOAP call.

The SoapServer class provides a server for the SOAP 1.1 and SOAP 1.2 protocols. It can be used with or without a WSDL service description.

A class representing a variable or object for use with SOAP services.

(PECL solr >= 0.9.2)
Class SolrClient
This class is used to send requests to a Solr server. Currently, cloning and serialization of SolrClient instances is not supported.

(PECL solr >= 2.2.0)
Class SolrCollapseFunction

(PECL solr >= 2.1.0)
Version not present on php.net documentation, determined here by using PECL solr changelog: https://pecl.php.net/package-changelog.php?package=solr&release=2.1.0
Class SolrDisMaxQuery

(PECL solr >= 0.9.2)
Class SolrDocument
This class represents a Solr document retrieved from a query response.

(PECL solr >= 0.9.2)
Class SolrDocumentField
This class represents a field in a Solr document. All its properties are read-only.

(PECL solr >= 0.9.2)
Class SolrGenericResponse
This class represents a response from the solr server.

(PECL solr >= 0.9.2)
Class SolrIllegalArgumentException
This object is thrown when an illegal or invalid argument is passed to a method.

(PECL solr >= 0.9.2)
Class SolrIllegalOperationException
This object is thrown when an illegal or unsupported operation is performed on an object.

(PECL solr >= 0.9.2)
Class SolrInputDocument
This class represents a Solr document that is about to be submitted to the Solr index.

(PECL solr >= 2.2.0)
Class SolrMissingMandatoryParameterException

(PECL solr >= 0.9.2)
Class SolrModifiableParams
This class represents a collection of name-value pairs sent to the Solr server during a request.

(PECL solr >= 0.9.2)
Class SolrObject
This class represents an object whose properties can also by accessed using the array syntax. All its properties are read-only.

(PECL solr >= 0.9.2)
Class SolrParams
This class represents a a collection of name-value pairs sent to the Solr server during a request.

(PECL solr >= 0.9.2)
Class SolrPingResponse
This class represents a response to a ping request to the server

(PECL solr >= 0.9.2)
Class SolrQuery
This class represents a collection of name-value pairs sent to the Solr server during a request.

(PECL solr >= 0.9.2)
Class SolrQueryResponse
This class represents a response to a query request.

(PECL solr >= 0.9.2)
Class SolrResponse
This class represents a response from the Solr server.

(PECL solr >= 0.9.2)
Class SolrUpdateResponse
This class represents a response to an update request.

(PECL solr >= 0.9.2)
Class SolrUtils
Contains utility methods for retrieving the current extension version and preparing query phrases.

The SplBool class is used to enforce strong typing of the bool type.

SplEnum gives the ability to emulate and create enumeration objects natively in PHP.

The SplFileInfo class offers a high-level object oriented interface to information for an individual file.

The SplFileObject class offers an object oriented interface for a file.

The SplFloat class is used to enforce strong typing of the float type.

The SplInt class is used to enforce strong typing of the integer type.

The SplString class is used to enforce strong typing of the string type.

The SplTempFileObject class offers an object oriented interface for a temporary file.

Abstract parent class for all SPL types.

Svn
SyncEvent
SyncMutex
SyncReaderWriter
SyncSemaphore
SyncSharedMemory

(PECL pthreads >= 2.0.0)
When the start method of a Thread is invoked, the run method code will be executed in separate Thread, in parallel.
After the run method is executed the Thread will exit immediately, it will be joined with the creating Thread at the appropriate time.

Threaded objects form the basis of pthreads ability to execute user code in parallel; they expose synchronization methods and various useful interfaces.
Threaded objects, most importantly, provide implicit safety for the programmer; all operations on the object scope are safe.

There are three scenarios where a TypeError may be thrown.

UV

The VARIANT is COM's equivalent of the PHP zval; it is a structure that can contain a value with a range of different possible types. The VARIANT class provided by the COM extension allows you to have more control over the way that PHP passes values to and from COM.

Is thrown when the type of an argument is correct but the value of it is incorrect. For example, passing a negative integer when the function expects a positive one, or passing an empty string/array when the function expects it to not be empty.

(PECL pthreads >= 3.0.0)
The Volatile class is new to pthreads v3. Its introduction is a consequence of the new immutability semantics of Threaded members of Threaded classes. The Volatile class enables for mutability of its Threaded members, and is also used to store PHP arrays in Threaded contexts.

Weak maps allow creating a map from objects to arbitrary values (similar to SplObjectStorage) without preventing the objects that are used as keys from being garbage collected. If an object key is garbage collected, it will simply be removed from the map.

Weak references allow the programmer to retain a reference to an object which does not prevent the object from being destroyed.

(PECL pthreads >= 2.0.0)
Worker Threads have a persistent context, as such should be used over Threads in most cases.
When a Worker is started, the run method will be executed, but the Thread will not leave until one of the following conditions are met:

  • the Worker goes out of scope (no more references remain)
  • the programmer calls shutdown
  • the script dies
This means the programmer can reuse the context throughout execution; placing objects on the stack of the Worker will cause the Worker to execute the stacked objects run method.

The XMLReader extension is an XML Pull parser. The reader acts as a cursor going forward on the document stream and stopping at each node on the way.

A action can be defined in a separate file in Yaf(see Yaf_Controller_Abstract). that is a action method can also be a Yaf_Action_Abstract class.


Since there should be a entry point which can be called by Yaf (as of PHP 5.3, there is a new magic method __invoke, but Yaf is not only works with PHP 5.3+, Yaf choose another magic method execute), you must implement the abstract method Yaf_Action_Abstract::execute() in your custom action class.

Yaf_Application provides a bootstrapping facility for applications which provides reusable resources, common- and module-based bootstrap classes and dependency checking.

Bootstrap is a mechanism used to do some initial config before a Application run.

User may define their own Bootstrap class by inheriting Yaf_Bootstrap_Abstract

Any method declared in Bootstrap class with leading "_init", will be called by Yaf_Application::bootstrap() one by one according to their defined order

Yaf_Config_Ini enables developers to store configuration data in a familiar INI format and read them in the application by using nested object property syntax. The INI format is specialized to provide both the ability to have a hierarchy of configuration data keys and inheritance between configuration data sections. Configuration data hierarchies are supported by separating the keys with the dot or period character ("."). A section may extend or inherit from another section by following the section name with a colon character (":") and the name of the section from which data are to be inherited.


Note:

Yaf_Config_Ini utilizes the » parse_ini_file() PHP function. Please review this documentation to be aware of its specific behaviors, which propagate to Yaf_Config_Ini, such as how the special values of "TRUE", "FALSE", "yes", "no", and "NULL" are handled.

Yaf_Controller_Abstract is the heart of Yaf's system. MVC stands for Model-View-Controller and is a design pattern targeted at separating application logic from display logic.


Every custom controller shall inherit Yaf_Controller_Abstract.


You will find that you can not define __construct function for your custom controller, thus, Yaf_Controller_Abstract provides a magic method: Yaf_Controller_Abstract::init().


If you have defined a init() method in your custom controller, it will be called as long as the controller was instantiated.


Action may have arguments, when a request coming, if there are the same name variable in the request parameters(see Yaf_Request_Abstract::getParam()) after routed, Yaf will pass them to the action method (see Yaf_Action_Abstract::execute()).


Note:

These arguments are directly fetched without filtering, it should be carefully processed before use them.

Yaf_Dispatcher purpose is to initialize the request environment, route the incoming request, and then dispatch any discovered actions; it aggregates any responses and returns them when the process is complete.


Yaf_Dispatcher also implements the Singleton pattern, meaning only a single instance of it may be available at any given time. This allows it to also act as a registry on which the other objects in the dispatch process may draw.

Yaf_Loader introduces a comprehensive autoloading solution for Yaf.


The first time an instance of Yaf_Application is retrieved, Yaf_Loader will instance a singleton, and registers itself with spl_autoload. You retrieve an instance using the Yaf_Loader::getInstance()


Yaf_Loader attempt to load a class only one shot, if failed, depend on yaf.use_spl_autoload, if this config is On Yaf_Loader::autoload() will return FALSE, thus give the chance to other autoload function. if it is Off (by default), Yaf_Loader::autoload() will return TRUE, and more important is that a very useful warning will be triggered (very useful to find out why a class could not be loaded).


Note:

Please keep yaf.use_spl_autoload Off unless there is some library have their own autoload mechanism and impossible to rewrite it.


If you want Yaf_Loader search some classes(libraries) in the local class directory(which is defined in application.ini, and by default, it is application.directory . "/library"), you should register the class prefix using the Yaf_Loader::registerLocalNameSpace()

Plugins allow for easy extensibility and customization of the framework.


Plugins are classes. The actual class definition will vary based on the component -- you may need to implement this interface, but the fact remains that the plugin is itself a class.


A plugin could be loaded into Yaf by using Yaf_Dispatcher::registerPlugin(), after registered, All the methods which the plugin implemented according to this interface, will be called at the proper time.

All methods of Yaf_Registry declared as static, making it universally accessible. This provides the ability to get or set any custom data from anyway in your code as necessary.

Yaf_Request_Simple is particularly used for test purpose. ie. simulate a spacial request under CLI mode.

Yaf_Route_Map is a built-in route, it simply convert a URI endpoint (that part of the URI which comes after the base URI: see Yaf_Request_Abstract::setBaseUri()) to a controller name or action name(depends on the parameter passed to Yaf_Route_Map::__construct()) in following rule: A => controller A. A/B/C => controller A_B_C. A/B/C/D/E => controller A_B_C_D_E.


If the second parameter of Yaf_Route_Map::__construct() is specified, then only the part before delimiter of URI will used to routing, the part after it is used to routing request parameters (see the example section of Yaf_Route_Map::__construct()).

Yaf_Route_Regex is the most flexible route among the Yaf built-in routes.

For usage, please see the example section of Yaf_Route_Rewrite::__construct()

Yaf_Route_Simple will match the query string, and find the route info.


all you need to do is tell Yaf_Route_Simple what key in the $_GET is module, what key is controller, and what key is action.


Yaf_Route_Simple::route() will always return TRUE, so it is important put Yaf_Route_Simple in the front of the Route stack, otherwise all the other routes will not be called

by default, Yaf_Router only have a Yaf_Route_Static as its default route.


Yaf_Route_Static is designed to handle 80% of normal requirements.


Note:

it is unnecessary to instance a Yaf_Route_Static, also unnecessary to add it into Yaf_Router's routes stack, since there is always be one in Yaf_Router's routes stack, and always be called at the last time.

Yaf_Router is the standard framework router. Routing is the process of taking a URI endpoint (that part of the URI which comes after the base URI: see Yaf_Request_Abstract::setBaseUri()) and decomposing it into parameters to determine which module, controller, and action of that controller should receive the request. This values of the module, controller, action and other parameters are packaged into a Yaf_Request_Abstract object which is then processed by Yaf_Dispatcher. Routing occurs only once: when the request is initially received and before the first controller is dispatched. Yaf_Router is designed to allow for mod_rewrite-like functionality using pure PHP structures. It is very loosely based on Ruby on Rails routing and does not require any prior knowledge of webserver URL rewriting


Default Route

Yaf_Router comes pre-configured with a default route Yaf_Route_Static, which will match URIs in the shape of controller/action. Additionally, a module name may be specified as the first path element, allowing URIs of the form module/controller/action. Finally, it will also match any additional parameters appended to the URI by default - controller/action/var1/value1/var2/value2.


Note:

Module name must be defined in config, considering application.module="Index,Foo,Bar", in this case, only index, foo and bar can be considered as a module name. if doesn't config, there is only one module named "Index".


** See examples by opening the external documentation

Yaf_View_Simple is the built-in template engine in Yaf, it is a simple but fast template engine, and only support PHP script template.

Class Yar_Server Date 2018/6/9 下午3:02

ZMQ

Class ZMQ

Class ZMQContext

Class ZMQDevice

Class ZMQPoll

Class ZMQSocket

Describing a job in a queue In order to add/modify a job in the queue, a Job class must be created/retrieved and than saved in a queue

A file archive, compressed with Zip.

Zookeeper class.

Class Objects can be returned by the layerObj_ class, or can be created using:

Instance of clusterObj is always embedded inside the layerObj_.

Instances of colorObj are always embedded inside other classes.

GNUPG Encryption Class

The grid is always embedded inside a layer object defined as a grid (layer->connectiontype = MS_GRATICULE) (for more docs : https://github.com/mapserver/mapserver/wiki/MapServerGrid) A layer can become a grid layer by adding a grid object to it using : ms_newGridObj(layerObj layer) $oLayer = ms_newlayerobj($oMap); $oLayer->set("name", "GRID"); ms_newgridobj($oLayer); $oLayer->grid->set("labelformat", "DDMMSS");

Instance of hashTableObj is always embedded inside the classObj, layerObj, mapObj and webObj. It is uses a read only.

Instances of imageObj are always created by the mapObj_ class methods.

labelObj are always embedded inside other classes.

Layer Objects can be returned by the mapObj_ class, or can be created using: A second optional argument can be given to ms_newLayerObj() to create the new layer as a copy of an existing layer. If a layer is given as argument then all members of a this layer will be copied in the new layer created.

Instances of legendObj are always are always embedded inside the mapObj_.

Represents a connection between PHP and a MySQL database.

MySQLi Driver.

Represents the result set obtained from a query against the database.

Represents a prepared statement.

Represents one or more MySQL warnings.

Instance of outputformatObj is always embedded inside the mapObj_.

Instances of querymapObj are always are always embedded inside the mapObj_.

rectObj are sometimes embedded inside other objects. New ones can also be created with:

Instances of referenceMapObj are always embedded inside the mapObj_.

Instances of scalebarObj are always embedded inside the mapObj_.

Created by typecasting to object.

Instances of styleObj are always embedded inside a classObj or labelObj.

An HTML node in an HTML file, as detected by tidy.

An HTML node in an HTML file, as detected by tidy.

Instances of webObj are always are always embedded inside the mapObj_.

Interfaces

Interface representing AMQP values

Interface to provide accessing objects as arrays.

(PECL pthreads >= 2.0.8)
Represents a garbage-collectable object.

Classes implementing Countable can be used with the count function.

Interface for external iterators or objects that can be iterated themselves internally.

Interface to create an external Iterator.

Objects implementing JsonSerializable can customize their JSON representation when encoded with json_encode.

Classes implementing OuterIterator can be used to iterate over iterators.

Classes implementing RecursiveIterator can be used to iterate over iterators recursively.

Reflector is an interface implemented by all exportable Reflection classes.

The Seekable iterator.

Interface for customized serializing.
As of PHP 8.1.0, a class which implements Serializable without also implementing __serialize() and __unserialize() will generate a deprecation warning.

SessionHandlerInterface is an interface which defines a prototype for creating a custom session handler.

SessionIdInterface

SessionUpdateTimestampHandlerInterface is an interface which defines a prototype for updating the life time of an existing session.

The SplObserver interface is used alongside SplSubject to implement the Observer Design Pattern.

The SplSubject interface is used alongside SplObserver to implement the Observer Design Pattern.

Stringable interface denotes a class as having a __toString() method.

Throwable is the base interface for any object that can be thrown via a throw statement in PHP 7, including Error and Exception.

Interface to detect if a class is traversable using foreach.

Yaf_Route_Interface used for developer defined their custom route.

Yaf provides a ability for developers to use custom view engine instead of build-in engine which is Yaf_View_Simple. There is a example to explain how to do this, please see Yaf_Dispatcher::setView()

Functions

array
GEOSLineMerge(GEOSGeometry $geom)

No description

array
GEOSPolygonize(GEOSGeometry $geom)

No description

bool
GEOSRelateMatch(string $matrix, string $pattern)

No description

GEOSSharedPaths(GEOSGeometry $geom1, GEOSGeometry $geom2)

No description

string
GEOSVersion()

No description

bool
PDF_activate_item(resource $pdf, int $id)

Activates a previously created structure element or other content item.

bool
PDF_add_nameddest(resource $pdf, string $name, string $optlist)

Creates a named destination on an arbitrary page in the current document.

bool
PDF_add_note(resource $pdf, float $llx, float $lly, float $urx, float $ury, string $contents, string $title, string $icon, int $open)

Sets an annotation for the current page.

int
PDF_add_table_cell(resource $pdf, int $table, int $column, int $row, string $text, string $optlist)

Adds a cell to a new or existing table.

int
PDF_add_textflow(resource $pdf, int $textflow, string $text, string $optlist)

Creates a Textflow object, or adds text and explicit options to an existing Textflow.

bool
PDF_add_thumbnail(resource $pdf, int $image)

Adds an existing image as thumbnail for the current page.

bool
PDF_arc(resource $pdf, float $x, float $y, float $r, float $alpha, float $beta)

Adds a counterclockwise circular arc

bool
PDF_arcn(resource $pdf, float $x, float $y, float $r, float $alpha, float $beta)

Except for the drawing direction, this function behaves exactly like PDF_arc().

bool
PDF_attach_file(resource $pdf, float $llx, float $lly, float $urx, float $ury, string $filename, string $description, string $author, string $mimetype, string $icon)

Adds a file attachment annotation.

int
PDF_begin_document(resource $pdf, string $filename, string $optlist)

Creates a new PDF file subject to various options.

bool
PDF_begin_font(resource $pdf, string $filename, float $a, float $b, float $c, float $d, float $e, float $f, string $optlist)

Starts a Type 3 font definition.

bool
PDF_begin_glyph(resource $pdf, string $glyphname, float $wx, float $llx, float $lly, float $urx, float $ury)

Starts a glyph definition for a Type 3 font.

int
PDF_begin_item(resource $pdf, string $tag, string $optlist)

Opens a structure element or other content item with attributes supplied as options.

bool
PDF_begin_layer(resource $pdf, int $layer)

Starts a layer for subsequent output on the page.

bool
PDF_begin_page(resource $pdf, float $width, float $height)

Adds a new page to the document.

bool
PDF_begin_page_ext(resource $pdf, float $width, float $height, string $optlist)

Adds a new page to the document, and specifies various options. The parameters width and height are the dimensions of the new page in points.

int
PDF_begin_pattern(resource $pdf, float $width, float $height, float $xstep, float $ystep, int $painttype)

Starts a new pattern definition.

int
PDF_begin_template(resource $pdf, float $width, float $height)

Start template definition [deprecated]

int
PDF_begin_template_ext(resource $pdf, float $width, float $height, string $optlist)

Starts a new template definition.

bool
PDF_circle(resource $pdf, float $x, float $y, float $r)

Draw a circle

bool
PDF_clip(resource $pdf)

Clip to current path

bool
PDF_close(resource $pdf)

Close pdf resource [deprecated]

bool
PDF_close_image(resource $pdf, int $image)

Close image

bool
PDF_close_pdi(resource $pdf, int $doc)

Close the input pdf document [deprecated]

bool
PDF_close_pdi_document(resource $pdf, int $doc)

No description

bool
PDF_close_pdi_page(resource $pdf, int $page)

Closes the page handle, and frees all page-related resources

bool
PDF_closepath(resource $pdf)

Close current path

bool
PDF_closepath_fill_stroke(resource $pdf)

Close, fill and stroke current path

bool
PDF_closepath_stroke(resource $pdf)

Close and stroke path

bool
PDF_concat(resource $pdf, float $a, float $b, float $c, float $d, float $e, float $f)

Concatenate a matrix to the ctm

bool
PDF_continue_text(resource $pdf, string $text)

Output text in next line

int
PDF_create_3dview(resource $pdf, string $username, string $optlist)

Create 3d view

int
PDF_create_action(resource $pdf, string $type, string $optlist)

Create action for objects or events

bool
PDF_create_annotation(resource $pdf, float $llx, float $lly, float $urx, float $ury, string $type, string $optlist)

Create rectangular annotation

int
PDF_create_bookmark(resource $pdf, string $text, string $optlist)

Create bookmar

bool
PDF_create_field(resource $pdf, float $llx, float $lly, float $urx, float $ury, string $name, string $type, string $optlist)

Create form field

bool
PDF_create_fieldgroup(resource $pdf, string $name, string $optlist)

Create form field group

int
PDF_create_gstate(resource $pdf, string $optlist)

Create graphics state object

bool
PDF_create_pvf(resource $pdf, string $filename, string $data, string $optlist)

Create pdflib virtual file

int
PDF_create_textflow(resource $pdf, string $text, string $optlist)

Create textflow object

bool
PDF_curveto(resource $pdf, float $x1, float $y1, float $x2, float $y2, float $x3, float $y3)

Draw bezier curve

int
PDF_define_layer(resource $pdf, string $name, string $optlist)

Create layer definition

bool
PDF_delete(resource $pdf)

No description

int
PDF_delete_pvf(resource $pdf, string $filename)

Delete pdflib virtual file

bool
PDF_delete_table(resource $pdf, int $table, string $optlist)

No description

bool
PDF_delete_textflow(resource $pdf, int $textflow)

No description

bool
PDF_encoding_set_char(resource $pdf, string $encoding, int $slot, string $glyphname, int $uv)

No description

bool
PDF_end_document(resource $pdf, string $optlist)

No description

bool
PDF_end_font(resource $pdf)

No description

bool
PDF_end_glyph(resource $pdf)

No description

bool
PDF_end_item(resource $pdf, int $id)

No description

bool
PDF_end_layer(resource $pdf)

No description

bool
PDF_end_page(resource $pdf)

No description

bool
PDF_end_page_ext(resource $pdf, string $optlist)

No description

bool
PDF_end_pattern(resource $pdf)

No description

bool
PDF_end_template(resource $pdf)

No description

bool
PDF_endpath(resource $pdf)

No description

bool
PDF_fill(resource $pdf)

No description

int
PDF_fill_imageblock(resource $pdf, int $page, string $blockname, int $image, string $optlist)

No description

int
PDF_fill_pdfblock(resource $pdf, int $page, string $blockname, int $contents, string $optlist)

No description

bool
PDF_fill_stroke(resource $pdf)

No description

int
PDF_fill_textblock(resource $pdf, int $page, string $blockname, string $text, string $optlist)

No description

int
PDF_findfont(resource $pdf, string $fontname, string $encoding, int $embed)

No description

bool
PDF_fit_image(resource $pdf, int $image, float $x, float $y, string $optlist)

No description

bool
PDF_fit_pdi_page(resource $pdf, int $page, float $x, float $y, string $optlist)

No description

string
PDF_fit_table(resource $pdf, int $table, float $llx, float $lly, float $urx, float $ury, string $optlist)

No description

string
PDF_fit_textflow(resource $pdf, int $textflow, float $llx, float $lly, float $urx, float $ury, string $optlist)

No description

bool
PDF_fit_textline(resource $pdf, string $text, float $x, float $y, string $optlist)

No description

string
PDF_get_apiname(resource $pdf)

No description

string
PDF_get_buffer(resource $pdf)

No description

string
PDF_get_errmsg(resource $pdf)

No description

int
PDF_get_errnum(resource $pdf)

No description

int
PDF_get_majorversion()

No description

int
PDF_get_minorversion()

No description

float
PDF_get_option(resource $pdf, string $keyword, string $optlist)

No description

string
PDF_get_parameter(resource $pdf, string $key, float $modifier)

No description

string
PDF_get_pdi_parameter(resource $pdf, string $key, int $doc, int $page, int $reserved)

No description

float
PDF_get_pdi_value(resource $pdf, string $key, int $doc, int $page, int $reserved)

No description

float
PDF_get_string(string $keyword, string $optlist)

No description

float
PDF_get_value(resource $pdf, string $key, float $modifier)

No description

float
PDF_info_font(resource $pdf, int $font, string $keyword, string $optlist)

No description

float
PDF_info_graphics(resource $pdf, int $graphics, string $keyword, string $optlist)

No description

float
PDF_info_image(resource $pdf, int $image, string $keyword, string $optlist)

No description

float
PDF_info_matchbox(resource $pdf, string $boxname, int $num, string $keyword)

No description

float
PDF_info_path(resource $pdf, int $path, string $keyword, string $optlist)

No description

float
PDF_info_pdi_page(resource $pdf, $page, string $keyword, string $optlist)

No description

float
PDF_info_pvf(resource $pdf, string $filename, string $keyword)

No description

float
PDF_info_table(resource $pdf, int $table, string $keyword)

No description

float
PDF_info_textflow(resource $pdf, int $textflow, string $keyword)

No description

float
PDF_info_textline(resource $pdf, string $text, string $keyword, string $optlist)

No description

bool
PDF_initgraphics(resource $pdf)

No description

bool
PDF_lineto(resource $pdf, float $x, float $y)

No description

int
PDF_load_3ddata(resource $pdf, string $filename, string $optlist)

No description

int
PDF_load_font(resource $pdf, string $fontname, string $encoding, string $optlist)

No description

int
PDF_load_iccprofile(resource $pdf, string $profilename, string $optlist)

No description

int
PDF_load_image(resource $pdf, string $imagetype, string $filename, string $optlist)

No description

int
PDF_makespotcolor(resource $pdf, string $spotname)

No description

bool
PDF_moveto(resource $pdf, float $x, float $y)

No description

resource
PDF_new()

No description

int
PDF_open_ccitt(resource $pdf, string $filename, int $width, int $height, int $BitReverse, int $k, int $Blackls1)

No description

bool
PDF_open_file(resource $pdf, string $filename)

No description

int
PDF_open_image(resource $pdf, string $imagetype, string $source, string $data, int $length, int $width, int $height, int $components, int $bpc, string $params)

No description

int
PDF_open_image_file(resource $pdf, string $imagetype, string $filename, string $stringparam, int $intparam)

No description

int
PDF_open_memory_image(resource $pdf, resource $image)

No description

int
PDF_open_pdi(resource $pdf, string $filename, string $optlist, int $len)

No description

int
PDF_open_pdi_document(resource $pdf, string $filename, string $optlist)

No description

int
PDF_open_pdi_page(resource $pdf, int $doc, int $pagenumber, string $optlist)

No description

float
PDF_pcos_get_number(resource $pdf, int $doc, string $path)

No description

string
PDF_pcos_get_stream(resource $pdf, int $doc, string $optlist, string $path)

No description

string
PDF_pcos_get_string(resource $pdf, int $doc, string $path)

No description

bool
PDF_place_image(resource $pdf, int $image, float $x, float $y, float $scale)

No description

bool
PDF_place_pdi_page(resource $pdf, int $page, float $x, float $y, float $sx, float $sy)

No description

int
PDF_process_pdi(resource $pdf, int $doc, int $page, string $optlist)

No description

bool
PDF_rect(resource $pdf, float $x, float $y, float $width, float $height)

No description

bool
PDF_restore(resource $pdf)

No description

bool
PDF_resume_page(resource $pdf, string $optlist)

No description

bool
PDF_rotate(resource $pdf, float $phi)

No description

bool
PDF_save(resource $pdf)

No description

bool
PDF_scale(resource $pdf, float $sx, float $sy)

No description

bool
PDF_set_border_color(resource $pdf, float $red, float $green, float $blue)

No description

bool
PDF_set_border_dash(resource $pdf, float $black, float $white)

No description

bool
PDF_set_border_style(resource $pdf, string $style, float $width)

No description

bool
PDF_set_gstate(resource $pdf, int $gstate)

No description

bool
PDF_set_info(resource $pdf, string $key, string $value)

No description

bool
PDF_set_layer_dependency(resource $pdf, string $type, string $optlist)

No description

bool
PDF_set_option(resource $pdf, string $optlist)

No description

bool
PDF_set_parameter(resource $pdf, string $key, string $value)

No description

bool
PDF_set_text_option(resource $pdf, string $optlist)

No description

bool
PDF_set_text_pos(resource $pdf, float $x, float $y)

No description

bool
PDF_set_value(resource $pdf, string $key, float $value)

No description

bool
PDF_setcolor(resource $pdf, string $fstype, string $colorspace, float $c1, float $c2, float $c3, float $c4)

No description

bool
PDF_setdash(resource $pdf, float $b, float $w)

No description

bool
PDF_setdashpattern(resource $pdf, string $optlist)

No description

bool
PDF_setflat(resource $pdf, float $flatness)

No description

bool
PDF_setfont(resource $pdf, int $font, float $fontsize)

No description

bool
PDF_setgray(resource $pdf, float $g)

No description

bool
PDF_setgray_fill(resource $pdf, float $g)

No description

bool
PDF_setgray_stroke(resource $pdf, float $g)

No description

bool
PDF_setlinecap(resource $pdf, int $linecap)

No description

bool
PDF_setlinejoin(resource $pdf, int $value)

No description

bool
PDF_setlinewidth(resource $pdf, float $width)

No description

bool
PDF_setmatrix(resource $pdf, float $a, float $b, float $c, float $d, float $e, float $f)

No description

bool
PDF_setmiterlimit(resource $pdf, float $miter)

No description

bool
PDF_setrgbcolor(resource $pdf, float $red, float $green, float $blue)

No description

bool
PDF_setrgbcolor_fill(resource $pdf, float $red, float $green, float $blue)

No description

bool
PDF_setrgbcolor_stroke(resource $pdf, float $red, float $green, float $blue)

No description

int
PDF_shading(resource $pdf, string $shtype, float $x0, float $y0, float $x1, float $y1, float $c1, float $c2, float $c3, float $c4, string $optlist)

No description

int
PDF_shading_pattern(resource $pdf, int $shading, string $optlist)

No description

bool
PDF_shfill(resource $pdf, int $shading)

No description

bool
PDF_show(resource $pdf, string $text)

No description

int
PDF_show_boxed(resource $pdf, string $text, float $left, float $top, float $width, float $height, string $mode, string $feature)

No description

bool
PDF_show_xy(resource $pdf, string $text, float $x, float $y)

No description

bool
PDF_skew(resource $pdf, float $alpha, float $beta)

No description

float
PDF_stringwidth(resource $pdf, string $text, int $font, float $fontsize)

No description

bool
PDF_stroke(resource $pdf)

No description

bool
PDF_suspend_page(resource $pdf, string $optlist)

No description

bool
PDF_translate(resource $pdf, float $tx, float $ty)

No description

string
PDF_utf16_to_utf8(resource $pdf, string $utf16string)

No description

string
PDF_utf32_to_utf16(resource $pdf, string $utf32string, string $ordering)

No description

string
PDF_utf8_to_utf16(resource $pdf, string $utf8string, string $ordering)

No description

void
PS_UNRESERVE_PREFIX___halt_compiler()

(PHP 5.1)
Halts the execution of the compiler. This can be useful to embed data in PHP scripts, like the installation files.

array
PS_UNRESERVE_PREFIX_array(mixed ...$_)

Creates an array.

void
PS_UNRESERVE_PREFIX_die(int|string $status = "")

Terminates execution of the script. Shutdown functions and object destructors will always be executed even if exit is called.

die is a language construct and it can be called without parentheses if no status is passed.

bool
PS_UNRESERVE_PREFIX_empty(mixed $var)

Determine whether a variable is considered to be empty. A variable is considered empty if it does not exist or if its value equals FALSE. empty() does not generate a warning if the variable does not exist.

mixed
PS_UNRESERVE_PREFIX_eval(string $code)

Evaluates the given code as PHP.

Caution: The eval() language construct is very dangerous because it allows execution of arbitrary PHP code. Its use thus is discouraged. If you have carefully verified that there is no other option than to use this construct, pay special attention not to pass any user provided data into it without properly validating it beforehand.

void
PS_UNRESERVE_PREFIX_exit(int|string $status = "")

Terminates execution of the script. Shutdown functions and object destructors will always be executed even if exit is called.

exit is a language construct and it can be called without parentheses if no status is passed.

bool
PS_UNRESERVE_PREFIX_isset(mixed $var, mixed ...$_)

Determine if a variable is set and is not NULL.

If a variable has been unset with unset(), it will no longer be set. isset() will return FALSE if testing a variable that has been set to NULL. Also note that a null character ("\0") is not equivalent to the PHP NULL constant.

If multiple parameters are supplied then isset() will return TRUE only if all of the parameters are set.

array
PS_UNRESERVE_PREFIX_list(mixed $var1, mixed ...$_)

Assigns a list of variables in one operation.

void
PS_UNRESERVE_PREFIX_unset(mixed $var, mixed ...$_)

Destroys the specified variables.

The behavior of unset() inside of a function can vary depending on what type of variable you are attempting to destroy.

int
SQLSRV_PHPTYPE_STREAM(string $encoding)

Specifies the encoding of a stream of data from the server.

int
SQLSRV_PHPTYPE_STRING(string $encoding)

Specifies the encoding of a string being received form the server.

int
SQLSRV_SQLTYPE_BINARY(int $byteCount)

Specifies a SQL Server binary field.

int
SQLSRV_SQLTYPE_CHAR(int $charCount)

Specifies a SQL Server char field.

int
SQLSRV_SQLTYPE_DECIMAL(int $precision, int $scale)

Specifies a SQL Server decimal field.

int
SQLSRV_SQLTYPE_NCHAR(int $charCount)

Specifies a SQL Server nchar field.

int
SQLSRV_SQLTYPE_NUMERIC(int $precision, int $scale)

Specifies a SQL Server numeric field.

int
SQLSRV_SQLTYPE_NVARCHAR(int|string $charCount)

Specifies a SQL Server nvarchar field.

int
SQLSRV_SQLTYPE_VARBINARY(int|string $byteCount)

Specifies a SQL Server varbinary field.

int
SQLSRV_SQLTYPE_VARCHAR(int|string $charCount)

Specifies a SQL Server varchar filed.

string
_(string $message)

Lookup a message in the current domain

int|float
abs(int|float $num)

Absolute value

void
accelerator_set_status(bool $status)

Disable/enable the Code Acceleration functionality at run time.

float
acos(float $num)

Arc cosine

float
acosh(float $num)

Inverse hyperbolic cosine

string
addcslashes(string $string, string $characters)

Quote string with slashes in a C style

string
addslashes(string $string)

Quote string with slashes

bool
apache_child_terminate()

Terminate apache process after this request apache_child_terminate() will register the Apache process executing the current PHP request for termination once execution of PHP code is completed. It may be used to terminate a process after a script with high memory consumption has been run as memory will usually only be freed internally but not given back to the operating system.

array
apache_get_modules()

Get a list of loaded Apache modules

string|false
apache_get_version()

Fetch the Apache version

string|false
apache_getenv(string $variable, bool $walk_to_top = false)

Get an Apache subprocess_env variable Retrieve an Apache environment variable specified by $variable.

object
apache_lookup_uri(string $filename)

Perform a partial request for the specified URI and return all info about it This performs a partial request for a URI. It goes just far enough to obtain all the important information about the given resource.

string|false
apache_note(string $note_name, string $note_value = '')

Get and set apache request notes This function is a wrapper for Apache's table_get and table_set. It edits the table of notes that exists during a request. The table's purpose is to allow Apache modules to communicate.

false|array
apache_request_headers()

Fetches all HTTP request headers from the current request

bool
apache_reset_timeout()

Reset the Apache write timer apache_reset_timeout() resets the Apache write timer, which defaults to 300 seconds. With set_time_limit(0); ignore_user_abort(true) and periodic apache_reset_timeout() calls, Apache can theoretically run forever.

array|false
apache_response_headers()

Fetch all HTTP response headers

bool
apache_setenv(string $variable, string $value, bool $walk_to_top = false)

Sets the value of the Apache environment variable specified by variable.

bool
apc_add(string $key, mixed $var, int $ttl = 0)

Caches a variable in the data store, only if it's not already stored

string|false|null
apc_bin_dump(string[]|null $files = null, string[]|null $user_vars = null)

Returns a binary dump of the given files and user variables from the APC cache

int|false
apc_bin_dumpfile(string[]|null $files, string[]|null $user_vars, string $filename, int $flags = 0, resource $context = null)

Output a binary dump of the given files and user variables from the APC cache to the named file

bool
apc_bin_load(string $data, int $flags = 0)

Load the given binary dump into the APC file/user cache

bool
apc_bin_loadfile(string $filename, resource $context = null, int $flags = 0)

Load the given binary dump from the named file into the APC file/user cache

array|false
apc_cache_info(string $type = '', bool $limited = false)

Retrieves cached information and meta-data from APC's data store

bool
apc_cas(string $key, int $old, int $new)

Updates an old value with a new value

bool
apc_clear_cache(string $cache_type = '')

Clears the APC cache

bool
apc_compile_file(string|string[] $filename, bool $atomic = true)

Stores a file in the bytecode cache, bypassing all filters

int|false
apc_dec(string $key, int $step = 1, bool|null $success = null)

Decrease a stored number

bool
apc_define_constants(string $key, array $constants, bool $case_sensitive = true)

Defines a set of constants for retrieval and mass-definition

bool|string[]
apc_delete(string|string[]|APCIterator $key)

Removes a stored variable from the cache

bool|string[]
apc_delete_file(string|string[]|APCIterator $keys)

Deletes the given files from the opcode cache

bool|string[]
apc_exists(string|string[] $keys)

Checks if APC key exists

mixed|false
apc_fetch(string|string[] $key, bool|null $success = null)

Fetch a stored variable from the cache

int|false
apc_inc(string $key, int $step = 1, bool|null $success = null)

Increase a stored number

bool
apc_load_constants(string $key, bool $case_sensitive = true)

Loads a set of constants from the cache

array|false
apc_sma_info(bool $limited = false)

Retrieves APC's Shared Memory Allocation information

bool|array
apc_store(string|array $key, mixed $var, int $ttl = 0)

Cache a variable in the data store

bool|array
apcu_add(string|array $key, mixed $var, int $ttl = 0)

Caches a variable in the data store, only if it's not already stored

array|false
apcu_cache_info(bool $limited = false)

Retrieves cached information from APCu's data store

bool
apcu_cas(string $key, int $old, int $new)

Updates an old value with a new value

bool
apcu_clear_cache()

Clears the APCu cache

int|false
apcu_dec(string $key, int $step = 1, bool|null $success = null, int $ttl = 0)

Decrease a stored number

bool|string[]
apcu_delete(string|string[]|APCUIterator $key)

Removes a stored variable from the cache

bool
apcu_enabled()

Whether APCu is usable in the current environment

mixed
apcu_entry(string $key, callable $generator, int $ttl = 0)
Since: APCu 5.1.0

Atomically fetch or generate a cache entry

bool|string[]
apcu_exists(string|string[] $keys)

Checks if APCu key exists

mixed|false
apcu_fetch(string|string[] $key, bool|null $success = null)

Fetch a stored variable from the cache

int|false
apcu_inc(string $key, int $step = 1, bool|null $success = null, int $ttl = 0)

Increase a stored number

array|null
apcu_key_info(string $key)

No description

array|false
apcu_sma_info(bool $limited = false)

Retrieves APCu Shared Memory Allocation information

bool|array
apcu_store(string|string[] $key, mixed $var, int $ttl = 0)

Cache a variable in the data store

bool
array_all(array $array, callable $callback)
Since: 8.4

No description

bool
array_any(array $array, callable $callback)
Since: 8.4

No description

array
array_change_key_case(array $array, int $case = CASE_LOWER)

Changes the case of all keys in an array

array
array_chunk(array $array, int $length, bool $preserve_keys = false)

Split an array into chunks

array
array_column(array $array, string|int|null $column_key, string|int|null $index_key = null)
Since: 5.5

Return the values from a single column in the input array

array|false
array_combine(array $keys, array $values)

Creates an array by using one array for keys and another for its values

array
array_count_values(array $array)

Counts all the values of an array

array
array_diff(array $array, array ...$arrays)

Computes the difference of arrays

array
array_diff_assoc(array $array, array ...$arrays)

Computes the difference of arrays with additional index check

array
array_diff_key(array $array, array ...$arrays)

Computes the difference of arrays using keys for comparison

array
array_diff_uassoc(array $array, array $array2, callable $key_compare_func, array ...$rest)

Computes the difference of arrays with additional index check which is performed by a user supplied callback function

array
array_diff_ukey(array $array, array $array2, callable $key_compare_func, array ...$rest)

Computes the difference of arrays using a callback function on the keys for comparison

array
array_fill(int $start_index, int $count, mixed $value)

Fill an array with values

array
array_fill_keys(array $keys, mixed $value)

Fill an array with values, specifying keys

array
array_filter(array $array, callable|null $callback, int $mode = 0)

Iterates over each value in the array passing them to the callback function.

mixed
array_find(array $array, callable $callback)
Since: 8.4

No description

mixed
array_find_key(array $array, callable $callback)
Since: 8.4

No description

array
array_flip(array $array)

Exchanges all keys with their associated values in an array

array
array_intersect(array $array, array ...$arrays)

Computes the intersection of arrays

array
array_intersect_assoc(array $array, array ...$arrays)

Computes the intersection of arrays with additional index check

array
array_intersect_key(array $array, array ...$arrays)

Computes the intersection of arrays using keys for comparison

array
array_intersect_uassoc(array $array, array $array2, callable $key_compare_func, array ...$rest)

Computes the intersection of arrays with additional index check, compares indexes by a callback function

array
array_intersect_ukey(array $array, array $array2, callable $key_compare_func, ...$rest)

Computes the intersection of arrays using a callback function on the keys for comparison

bool
array_is_list(array $array)
Since: 8.1

No description

bool
array_key_exists(int|string $key, array|ArrayObject $array)

Checks if the given key or index exists in the array

string|int|null
array_key_first(array $array)
Since: 7.3

Gets the first key of an array

string|int|null
array_key_last(array $array)
Since: 7.3

Gets the last key of an array

array
array_keys(array $array, mixed $filter_value, bool $strict = false)

Return all the keys or a subset of the keys of an array

array
array_map(callable|null $callback, array $array, array ...$arrays)

Applies the callback to the elements of the given arrays

array
array_merge($array, array ...$arrays)

Merges the elements of one or more arrays together (if the input arrays have the same string keys, then the later value for that key will overwrite the previous one; if the arrays contain numeric keys, the later value will be appended) Since 7.4.0 this function can be called without any parameter, and it will return empty array.

array
array_merge_recursive(array $arr1, array ...$arrays)

Merge two or more arrays recursively

bool
array_multisort(array $array, $sort_order = SORT_ASC, $sort_flags = SORT_REGULAR, ...$rest)

Sort multiple or multi-dimensional arrays

array
array_pad(array $array, int $length, mixed $value)

Pad array to the specified length with a value

mixed
array_pop(array $array)

Pop the element off the end of array

int|float
array_product(array $array)

Calculate the product of values in an array

int
array_push(array $array, mixed ...$values)

Push elements onto the end of array Since 7.3.0 this function can be called with only one parameter.

array|string|int
array_rand(array $array, int $num = 1)

Pick one or more random keys out of an array

mixed
array_reduce(array $array, callable $callback, mixed $initial = null)

Iteratively reduce the array to a single value using a callback function

array
array_replace(array $array, array ...$replacements)

array_replace() replaces the values of the first array with the same values from all the following arrays.

array
array_replace_recursive(array $array, array ...$replacements)

Replaces elements from passed arrays into the first array recursively

array
array_reverse(array $array, bool $preserve_keys = false)

Return an array with elements in reverse order

mixed
array_shift(array $array)

Shift an element off the beginning of array

array
array_slice(array $array, int $offset, int|null $length, bool $preserve_keys = false)

Extract a slice of the array

array
array_splice(array $array, int $offset, int|null $length, mixed $replacement = [])

Remove a portion of the array and replace it with something else

int|float
array_sum(array $array)

Calculate the sum of values in an array

array
array_udiff(array $array, array $array2, callable $data_compare_func, array ...$rest)

Computes the difference of arrays by using a callback function for data comparison

array
array_udiff_assoc(array $array, array $array2, callable $data_compare_func, array ...$rest)

Computes the difference of arrays with additional index check, compares data by a callback function

array
array_udiff_uassoc(array $array, array $array2, callable $data_compare_func, callable $key_compare_func, array ...$rest)

Computes the difference of arrays with additional index check, compares data and indexes by a callback function

array
array_uintersect(array $array, array $array2, callable $data_compare_func, array ...$rest)

Computes the intersection of arrays, compares data by a callback function

array
array_uintersect_assoc(array $array, array $array2, callable $data_compare_func, array ...$rest)

Computes the intersection of arrays with additional index check, compares data by a callback function

array
array_uintersect_uassoc(array $array, array $array2, callable $data_compare_func, callable $key_compare_func, array ...$rest)

Computes the intersection of arrays with additional index check, compares data and indexes by separate callback functions

array
array_unique(array $array, int $flags = SORT_STRING)

Removes duplicate values from an array

int
array_unshift(array $array, mixed ...$values)

Prepend elements to the beginning of an array Since 7.3.0 this function can be called with only one parameter.

array
array_values(array $array)

Return all the values of an array

array_walk(object|array $array, callable $callback, mixed $arg)

Apply a user function to every member of an array

array_walk_recursive(object|array $array, callable $callback, mixed $arg)

Apply a user function recursively to every member of an array

arsort(array $array, int $flags = SORT_REGULAR)

Sort an array in reverse order and maintain index association

float
asin(float $num)

Arc sine

float
asinh(float $num)

Inverse hyperbolic sine

asort(array $array, int $flags = SORT_REGULAR)

Sort an array and maintain index association

bool
assert(mixed $assertion, string $description = null)

Checks if assertion is FALSE

mixed
assert_options(int $option, mixed $value)

Set/get the various assert flags

float
atan(float $num)

Arc tangent

float
atan2(float $y, float $x)

Arc tangent of two variables

float
atanh(float $num)

Inverse hyperbolic tangent

string|false
base64_decode(string $string, bool $strict = false)

Decodes data encoded with MIME base64

string
base64_encode(string $string)

Encodes data with MIME base64

string
base_convert(string $num, int $from_base, int $to_base)

Convert a number between arbitrary bases

string
basename(string $path, string $suffix = '')

Returns trailing name component of path

string
bcadd(string $num1, string $num2, int|null $scale = null)

Add two arbitrary precision numbers

string
bcceil(string $num)
Since: 8.4

No description

int
bccomp(string $num1, string $num2, int|null $scale = null)

Compare two arbitrary precision numbers

string
bcdiv(string $num1, string $num2, int|null $scale = null)

Divide two arbitrary precision numbers

array
bcdivmod(string $num1, string $num2, int|null $scale = null)

No description

string
bcfloor(string $num)
Since: 8.4

No description

string
bcmod(string $num1, string $num2, int|null $scale = null)

Get modulus of an arbitrary precision number

string
bcmul(string $num1, string $num2, int|null $scale = null)

Multiply two arbitrary precision numbers

string
bcpow(string $num, string $exponent, int|null $scale = null)

Raise an arbitrary precision number to another

string|null
bcpowmod(string $num, string $exponent, string $modulus, int|null $scale = null)

Raise an arbitrary precision number to another, reduced by a specified modulus

string
bcround(string $num, int $precision = 0, RoundingMode $mode = RoundingMode::HalfAwayFromZero)
Since: 8.4

No description

int|bool
bcscale(int $scale = null)

Set default scale parameter for all bc math functions

string|null
bcsqrt(string $num, int|null $scale)

Get the square root of an arbitrary precision number

string
bcsub(string $num1, string $num2, int|null $scale = null)

Subtract one arbitrary precision number from another

string
bin2hex(string $string)

Convert binary data into hexadecimal representation

string|false
bind_textdomain_codeset(string $domain, string|null $codeset = null)

Specify the character encoding in which the messages from the DOMAIN message catalog will be returned

int|float
bindec(string $binary_string)

Binary to decimal

string|false
bindtextdomain(string $domain, string|null $directory = null)

Sets the path for a domain

bool
boolval(mixed $value)
Since: 5.5

(PHP 5.5.0)
Get the boolean value of a variable

string|false
brotli_compress(string $data, int $quality = BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode = BROTLI_GENERIC)

This function compress a string using brotli algorithm.

string|false
brotli_compress_add(resource $context, string $data, int $mode = BROTLI_FLUSH)

Initialize an incremental brotli compress context.

resource|false
brotli_compress_init(int $quality = BROTLI_COMPRESS_LEVEL_DEFAULT, int $mode = BROTLI_GENERIC)

Initialize an incremental brotli compress context.

string|false
brotli_uncompress(string $data, int $length = 0)

This function uncompresses a string compressed with brotli algorithm.

string|false
brotli_uncompress_add(resource $context, string $data, int $mode = BROTLI_FLUSH)

Initialize an incremental brotli compress context.

resource|false
brotli_uncompress_init()

Initialize an incremental brotli uncompress context.

bool
bzclose(resource $bz)

Close a bzip2 file

string|int
bzcompress(string $data, int $blocksize, int $block_size = 4, int $work_factor = 0)

Compress a string into bzip2 encoded data

string|int|false
bzdecompress(string $data, bool $use_less_memory = false)

Decompresses bzip2 encoded data

int
bzerrno(resource $bz)

Returns a bzip2 error number

array
bzerror(resource $bz)

Returns the bzip2 error number and error string in an array

string
bzerrstr(resource $bz)

Returns a bzip2 error string

bool
bzflush(resource $bz)

Force a write of all buffered data

resource|false
bzopen(string $file, string $mode)

Opens a bzip2 compressed file

string|false
bzread(resource $bz, int $length = 1024)

Binary safe bzip2 file read

int|false
bzwrite(resource $bz, string $data, int|null $length)

Binary safe bzip2 file write

int
cal_days_in_month(int $calendar, int $month, int $year)

Return the number of days in a month for a given year and calendar

array
cal_from_jd(int $julian_day, int $calendar)

Converts from Julian Day Count to a supported calendar

array
cal_info(int $calendar = -1)

Returns information about a particular calendar

int
cal_to_jd(int $calendar, int $month, int $day, int $year)

Converts from a supported calendar to Julian Day Count

mixed
call_user_func(callable $callback, mixed ...$args)

Call the callback given by the first parameter

mixed
call_user_func_array(callable $callback, array $args)

Call a callback with an array of parameters

mixed
call_user_method(string $method_name, object $obj, mixed ...$parameter)

Call a user method on an specific object

mixed
call_user_method_array(string $method_name, object $obj, array $params)

Call a user method given with an array of parameters

float|false
ceil(int|float $num)

Round fractions up

bool
chdir(string $directory)

Change directory

bool
checkdate(int $month, int $day, int $year)

Validate a Gregorian date

bool
checkdnsrr(string $hostname, string $type = 'MX')

Check DNS records corresponding to a given Internet host name or IP address

bool
chgrp(string $filename, string|int $group)

Changes file group

bool
chmod(string $filename, int $permissions)

Changes file mode

string
chop(string $string, string $characters = " \n\r\t\v\x00")

Alias: {rtrim}

bool
chown(string $filename, string|int $user)

Changes file owner

string
chr(int $codepoint)

Generate a single-byte string from a number

bool
chroot(string $directory)

Change the root directory

string
chunk_split(string $string, int $length = 76, string $separator = "\r\n")

Split a string into smaller chunks

array|false
class_implements(object|string $object_or_class, bool $autoload = true)

Return the interfaces which are implemented by the given class

array|false
class_parents(object|string $object_or_class, bool $autoload = true)

Return the parent classes of the given class

array|false
class_uses(object|string $object_or_class, bool $autoload = true)
Since: 5.4

Return the traits used by the given class

void
clearstatcache(bool $clear_realpath_cache = false, string $filename = '')

Clears file status cache

string|null
cli_get_process_title()
Since: 5.5

Returns the current process title, as set by cli_set_process_title(). Note that this may not exactly match what is shown in ps or top, depending on your operating system.

bool
cli_set_process_title(string $title)
Since: 5.5

Sets the process title

void
closedir(resource $dir_handle)

Close directory handle

closelog()

Close connection to system logger

bool
collator_asort(Collator $object, array $array, int $flags = 0)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Sort array maintaining index association

int|false
collator_compare(Collator $object, string $string1, string $string2)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Compare two Unicode strings

Collator|null
collator_create(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Create a collator

int|false
collator_get_attribute(Collator $object, int $attribute)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get collation attribute value

int|false
collator_get_error_code(Collator $object)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get collator's last error code

string|false
collator_get_error_message(Collator $object)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get text for collator's last error code

string|false
collator_get_locale(Collator $object, int $type)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the locale name of the collator

string|false
collator_get_sort_key(Collator $object, string $string, $arg3)

(PHP 5 >= 5.3.2, PHP 7, PECL intl >= 1.0.3)
Get sorting key for a string

int
collator_get_strength(Collator $object)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get current collation strength

bool
collator_set_attribute(Collator $object, int $attribute, int $value)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Set collation attribute

bool
collator_set_strength(Collator $object, int $strength)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Set collation strength

bool
collator_sort(Collator $object, array $array, int $flags = 0)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Sort array using specified collator

bool
collator_sort_with_sort_keys(Collator $object, array $array, $sort_flags = [])

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Sort array using specified collator and sort keys

string
com_create_guid()

(PHP 5, PHP 7)
Generate a globally unique identifier (GUID)

bool
com_event_sink(VARIANT $comobject, object $sinkobject, string $sinkinterface = null)

(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Connect events from a COM object to a PHP object

com_get_active_object(string $progid, int $code_page = CP_ACP)

(PHP 5, PHP 7)
Returns a handle to an already running instance of a COM object

bool
com_load_typelib(string $typelib_name, bool $case_insensitive = true)

(PHP 4 >= 4.1.0, PHP 5, PHP 7)
Loads a Typelib

bool
com_message_pump(int $timeoutms = 0)

(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Process COM messages, sleeping for up to timeoutms milliseconds

bool
com_print_typeinfo(object $comobject, string $dispinterface = null, bool $wantsink = false)

(PHP 4 >= 4.2.0, PHP 5, PHP 7)
Print out a PHP class definition for a dispatchable interface

array
compact(mixed $var_name, mixed ...$var_names)

Create array containing variables and their values

array
config_get_hash()

Returns an array of ALL valid ini options with values and is not the same as ini_get_all() which returns only registered ini options. Only useful for devs to debug php.ini scanner/parser!

confirm_pdo_ibm_compiled()

No description

int
connection_aborted()

Check whether client disconnected

int
connection_status()

Returns connection status bitfield

mixed
constant(string $name)

Returns the value of a constant

string
convert_cyr_string(string $str, string $from, string $to)

Convert from one Cyrillic character set to another

string|false
convert_uudecode(string $string)

Decode a uuencoded string

string
convert_uuencode(string $string)

Uuencode a string

bool
copy(string $from, string $to, resource $context)

Copies file

float
cos(float $num)

Cosine

float
cosh(float $num)

Hyperbolic cosine

int
count(Countable|array $value, int $mode = COUNT_NORMAL)

Counts all elements in an array, or something in an object.

array|string
count_chars(string $string, int $mode = 0)

Return information about characters used in a string

int
crc32(string $string)

Calculates the crc32 polynomial of a string

string
crypt(string $string, string $salt)

One-way string encryption (hashing)

bool
ctype_alnum(mixed $text)

Check for alphanumeric character(s)

bool
ctype_alpha(mixed $text)

Check for alphabetic character(s)

bool
ctype_cntrl(mixed $text)

Check for control character(s)

bool
ctype_digit(mixed $text)

Check for numeric character(s)

bool
ctype_graph(mixed $text)

Check for any printable character(s) except space

bool
ctype_lower(mixed $text)

Check for lowercase character(s)

bool
ctype_print(mixed $text)

Check for printable character(s)

bool
ctype_punct(mixed $text)

Check for any printable character which is not whitespace or an alphanumeric character

bool
ctype_space(mixed $text)

Check for whitespace character(s)

bool
ctype_upper(mixed $text)

Check for uppercase character(s)

bool
ctype_xdigit(mixed $text)

Check for character(s) representing a hexadecimal digit

int
cubrid_affected_rows(resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.0)
Return the number of rows affected by the last SQL statement

bool
cubrid_bind(resource $req_identifier, int $bind_index, mixed $bind_value, string $bind_value_type = null)

(PHP 5, CUBRID >= 8.3.0)
Bind variables to a prepared statement as parameters

string
cubrid_client_encoding(resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.0)
Return the current CUBRID connection charset

bool
cubrid_close(resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.0)
Close CUBRID connection. Same as cubrid_disconnect().

bool
cubrid_close_prepare(resource $req_identifier)

(PHP 5, CUBRID >= 8.3.0)
Close the request handle. Same as cubrid_close_request().

bool
cubrid_close_request(resource $req_identifier)

(PHP 5, CUBRID >= 8.3.0)
Close the request handle. Same as cubrid_close_prepare().

array
cubrid_col_get(resource $conn_identifier, string $oid, string $attr_name)

(PHP 5, CUBRID >= 8.3.0)
Get contents of collection type column using OID

int
cubrid_col_size(resource $conn_identifier, string $oid, string $attr_name)

(PHP 5, CUBRID >= 8.3.0)
Get the number of elements in collection type column using OID

array
cubrid_column_names(resource $req_identifier)

(PHP 5, CUBRID >= 8.3.0)
Get the column names in result

array
cubrid_column_types(resource $req_identifier)

(PHP 5, CUBRID >= 8.3.0)
Get column types in result

bool
cubrid_commit(resource $conn_identifier)

(PHP 5, CUBRID >= 8.3.0)
Commit a transaction

resource|false
cubrid_connect(string $host, int $port, string $dbname, string $userid = 'PUBLIC', string $passwd = '', bool $new_link = false)

(PHP 5, CUBRID >= 8.3.1)
Open a connection to a CUBRID Server

resource|false
cubrid_connect_with_url(string $conn_url, string $userid = 'PUBLIC', string $passwd = '', bool $new_link = false)

(PHP 5, CUBRID >= 8.3.1)
Establish the environment for connecting to CUBRID server.

string
cubrid_current_oid(resource $req_identifier)

(PHP 5, CUBRID >= 8.3.0)
Get OID of the current cursor location

bool
cubrid_data_seek(resource $result, int $row_number)

(PHP 5, CUBRID >= 8.3.0)
Move the internal row pointer of the CUBRID result

string
cubrid_db_name(array $result, int $index)

(PHP 5, CUBRID >= 8.3.1)
Get db name from results of cubrid_list_dbs

array
cubrid_db_parameter(resource $conn_identifier)

(PHP 5, CUBRID >= 8.3.1)
Get result data

bool
cubrid_disconnect(resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.0)
Close CUBRID connection. Same as cubrid_close().

bool
cubrid_drop(resource $conn_identifier, string $oid)

(PHP 5, CUBRID >= 8.3.0)
Delete an instance using OID

int
cubrid_errno(resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.1)
Returns the numerical value of the error message from previous CUBRID operation. Same as cubrid_error_code();

string
cubrid_error(resource $connection = null)

(PHP 5, CUBRID >= 8.3.1)
Get the error message. Same as cubrid_error_msg();

int
cubrid_error_code()

(PHP 5, CUBRID >= 8.3.0)
Get error code for the most recent function call.

int
cubrid_error_code_facility()

(PHP 5, CUBRID >= 8.3.0)
Get the facility code of error

string
cubrid_error_msg()

(PHP 5, CUBRID >= 8.3.0)
Get last error message for the most recent function call.

bool
cubrid_execute(resource $request_identifier, int $option = null)

(PHP 5, CUBRID >= 8.3.0)
Execute a prepared SQL statement

mixed
cubrid_fetch(resource $result, int $type = CUBRID_BOTH)

(PHP 5, CUBRID >= 8.3.0)
Fetch the next row from a result set

array
cubrid_fetch_array(resource $result, int $type = CUBRID_BOTH)

(PHP 5, CUBRID >= 8.3.0)
Fetch a result row as an associative array, a numeric array, or both

array
cubrid_fetch_assoc(resource $result, int $type = null)

(PHP 5, CUBRID >= 8.3.0)
Return the associative array that corresponds to the fetched row

object
cubrid_fetch_field(resource $result, int $field_offset = 0)

(PHP 5, CUBRID >= 8.3.1)
Get column information from a result and return as an object

array
cubrid_fetch_lengths(resource $result)

(PHP 5, CUBRID >= 8.3.0)
Return an array with the lengths of the values of each field from the current row

object
cubrid_fetch_object(resource $result, string $class_name = null, array $params = null, int $type = null)

(PHP 5, CUBRID >= 8.3.0)
Fetch the next row and return it as an object

array
cubrid_fetch_row(resource $result, int $type = null)

(PHP 5, CUBRID >= 8.3.0)
Return a numerical array with the values of the current row

string
cubrid_field_flags(resource $result, int $field_offset)

(PHP 5, CUBRID >= 8.3.0)
Return a string with the flags of the given field offset

int
cubrid_field_len(resource $result, int $field_offset)

(PHP 5, CUBRID >= 8.3.0)
Get the maximum length of the specified field

string
cubrid_field_name(resource $result, int $field_offset)

(PHP 5, CUBRID >= 8.3.0)
Return the name of the specified field index

bool
cubrid_field_seek(resource $result, int $field_offset)

(PHP 5, CUBRID >= 8.3.0)
Move the result set cursor to the specified field offset

string
cubrid_field_table(resource $result, int $field_offset)

(PHP 5, CUBRID >= 8.3.0)
Return the name of the table of the specified field

string
cubrid_field_type(resource $result, int $field_offset)

(PHP 5, CUBRID >= 8.3.0)
Return the type of the column corresponding to the given field offset

bool
cubrid_free_result(resource $req_identifier)

(PHP 5, CUBRID >= 8.3.0)
Free the memory occupied by the result data

mixed
cubrid_get(resource $conn_identifier, string $oid, mixed $attr = null)

(PHP 5, CUBRID >= 8.3.0)
Get a column using OID

bool
cubrid_get_autocommit(resource $conn_identifier)

(PHP 5, CUBRID >= 8.4.0)
Get auto-commit mode of the connection

string
cubrid_get_charset(resource $conn_identifier)

(PHP 5, CUBRID >= 8.3.0)
Return the current CUBRID connection charset

string
cubrid_get_class_name(resource $conn_identifier, string $oid)

(PHP 5, CUBRID >= 8.3.0)
Get the class name using OID

string
cubrid_get_client_info()

(PHP 5, CUBRID >= 8.3.0)
Return the client library version

array
cubrid_get_db_parameter(resource $conn_identifier)

(PHP 5, CUBRID >= 8.3.0)
Returns the CUBRID database parameters

int
cubrid_get_query_timeout(resource $req_identifier)

(PHP 5, CUBRID >= 8.4.1)
Get the query timeout value of the request

string
cubrid_get_server_info(resource $conn_identifier)

(PHP 5, CUBRID >= 8.3.0)
Return the CUBRID server version

string
cubrid_insert_id(resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.0)
Return the ID generated for the last updated AUTO_INCREMENT column

int
cubrid_is_instance(resource $conn_identifier, string $oid)

(PHP 5, CUBRID >= 8.3.0)
Check whether the instance pointed by OID exists

array
cubrid_list_dbs(resource $conn_identifier)

(PHP 5, CUBRID >= 8.3.0)
Return an array with the list of all existing CUBRID databases

bool
cubrid_lob2_bind(resource $req_identifier, int $bind_index, mixed $bind_value, string $bind_value_type = null)

(PHP 5, CUBRID >= 8.4.1)
Bind a lob object or a string as a lob object to a prepared statement as parameters.

bool
cubrid_lob2_close(resource $lob_identifier)

(PHP 5, CUBRID >= 8.4.1)
Close BLOB/CLOB data

bool
cubrid_lob2_export(resource $lob_identifier, string $file_name)

(PHP 5, CUBRID >= 8.4.1)
Export the lob object to a file.

bool
cubrid_lob2_import(resource $lob_identifier, string $file_name)

(PHP 5, CUBRID >= 8.4.1)
Import the lob object from a file.

resource|false
cubrid_lob2_new(resource $conn_identifier = null, string $type = "BLOB")

(PHP 5, CUBRID >= 8.4.1)
Create a lob object.

string
cubrid_lob2_read(resource $lob_identifier, int $len)

(PHP 5, CUBRID >= 8.4.1)
Read from BLOB/CLOB data.

bool
cubrid_lob2_seek(resource $lob_identifier, int $offset, int $origin = CUBRID_CURSOR_CURRENT)

(PHP 5, CUBRID >= 8.4.1)
Move the cursor of a lob object.

bool
cubrid_lob2_seek64(resource $lob_identifier, string $offset, int $origin = CUBRID_CURSOR_CURRENT)

(PHP 5, CUBRID >= 8.4.1)
Move the cursor of a lob object.

int
cubrid_lob2_size(resource $lob_identifier)

(PHP 5, CUBRID >= 8.4.1)
Get a lob object's size.

string
cubrid_lob2_size64(resource $lob_identifier)

(PHP 5, CUBRID >= 8.4.1)
Get a lob object's size.

int
cubrid_lob2_tell(resource $lob_identifier)

(PHP 5, CUBRID >= 8.4.1)
Tell the cursor position of the LOB object.

string
cubrid_lob2_tell64(resource $lob_identifier)

(PHP 5, CUBRID >= 8.4.1)
Tell the cursor position of the LOB object.

bool
cubrid_lob2_write(resource $lob_identifier, string $buf)

(PHP 5, CUBRID >= 8.4.0)
Write a string into the LOB large object

bool
cubrid_lob_close(array $lob_identifier_array)

(PHP 5, CUBRID >= 8.3.1)
Close BLOB/CLOB data

bool
cubrid_lob_export(resource $conn_identifier, resource $lob_identifier, string $path_name)

(PHP 5, CUBRID >= 8.3.1)
Export BLOB/CLOB data to file

array
cubrid_lob_get(resource $conn_identifier, string $sql)

(PHP 5, CUBRID >= 8.3.1)
cubrid_lob_get() is used to get BLOB/CLOB meta info from CUBRID database. CUBRID gets BLOB/CLOB by executing the SQL statement, and returns all LOBs as a resource array. Be sure that the SQL retrieves only one column and its data type is BLOB or CLOB.

bool
cubrid_lob_send(resource $conn_identifier, resource $lob_identifier)

(PHP 5, CUBRID >= 8.3.1)
Read BLOB/CLOB data and send straight to browser

string
cubrid_lob_size(resource $lob_identifier)

(PHP 5, CUBRID >= 8.3.1)
Get BLOB/CLOB data size

bool
cubrid_lock_read(resource $conn_identifier, string $oid)

(PHP 5, CUBRID >= 8.3.0)
Set a read lock on the given OID

bool
cubrid_lock_write(resource $conn_identifier, string $oid)

(PHP 5, CUBRID >= 8.3.0)
Set a write lock on the given OID

int
cubrid_move_cursor(resource $req_identifier, int $offset, int $origin = CUBRID_CURSOR_CURRENT)

(PHP 5, CUBRID >= 8.3.0)
Move the cursor in the result

bool
cubrid_next_result(resource $result)

(PHP 5, CUBRID >= 8.4.0)
Get result of next query when executing multiple SQL statements

int
cubrid_num_cols(resource $result)

(PHP 5, CUBRID >= 8.3.0)
Return the number of columns in the result set

int
cubrid_num_fields(resource $result)

(PHP 5, CUBRID >= 8.3.0)
Return the number of columns in the result set

int
cubrid_num_rows(resource $result)

(PHP 5, CUBRID >= 8.3.0)
Get the number of rows in the result set

resource|false
cubrid_pconnect(string $host, int $port, string $dbname, string $userid = 'PUBLIC', string $passwd = '')

(PHP 5, CUBRID >= 8.3.1)
Open a persistent connection to a CUBRID server

resource|false
cubrid_pconnect_with_url(string $conn_url, string $userid = 'PUBLIC', string $passwd = '')

(PHP 5, CUBRID >= 8.3.1)
Open a persistent connection to CUBRID server

bool
cubrid_ping(resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.1)
Ping a server connection or reconnect if there is no connection

resource|false
cubrid_prepare(resource $conn_identifier, string $prepare_stmt, int $option = 0)

(PHP 5, CUBRID >= 8.3.0)
Prepare an SQL statement for execution

bool
cubrid_put(resource $conn_identifier, string $oid, string $attr = null, mixed $value)

(PHP 5, CUBRID >= 8.3.0)
Update a column using OID

resource|bool
cubrid_query(string $query, resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.1)
Send a CUBRID query

string
cubrid_real_escape_string(string $unescaped_string, resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.0)
Escapes special characters in a string for use in an SQL statement

string
cubrid_result(resource $result, int $row, mixed $field = 0)

(PHP 5, CUBRID >= 8.3.0)
Return the value of a specific field in a specific row

bool
cubrid_rollback(resource $conn_identifier)

(PHP 5, CUBRID >= 8.3.0)
Roll back a transaction

array
cubrid_schema(resource $conn_identifier, int $schema_type, string $class_name = null, string $attr_name = null)

(PHP 5, CUBRID >= 8.3.0)
Get the requested schema information

bool
cubrid_seq_add(resource $conn_identifier, string $oid, string $attr_name, string $seq_element)

(PHP 5, CUBRID >= 8.3.0)
Insert a single element to set type column using OID

bool
cubrid_seq_drop(resource $conn_identifier, string $oid, string $attr_name, int $index)

(PHP 5, CUBRID >= 8.3.0)
Delete an element from sequence type column using OID

bool
cubrid_seq_insert(resource $conn_identifier, string $oid, string $attr_name, int $index, string $seq_element)

(PHP 5, CUBRID >= 8.3.0)
Insert an element to a sequence type column using OID

bool
cubrid_seq_put(resource $conn_identifier, string $oid, string $attr_name, int $index, string $seq_element)

(PHP 5, CUBRID >= 8.3.0)
Update the element value of sequence type column using OID

bool
cubrid_set_add(resource $conn_identifier, string $oid, string $attr_name, string $set_element)

(PHP 5, CUBRID >= 8.3.0)
Insert a single element to set type column using OID

bool
cubrid_set_autocommit(resource $conn_identifier, bool $mode)

(PHP 5, CUBRID >= 8.4.0)
Set auto-commit mode of the connection

bool
cubrid_set_db_parameter(resource $conn_identifier, int $param_type, int $param_value)

(PHP 5, CUBRID >= 8.4.0)
Sets the CUBRID database parameters

bool
cubrid_set_drop(resource $conn_identifier, string $oid, string $attr_name, string $set_element)

(PHP 5, CUBRID >= 8.3.0)
Delete an element from set type column using OID

bool
cubrid_set_query_timeout(resource $req_identifier, int $timeout)

(PHP 5, CUBRID >= 8.4.1)
Set the query timeout value of the request

resource|bool
cubrid_unbuffered_query(string $query, resource $conn_identifier = null)

(PHP 5, CUBRID >= 8.3.0)
Perform a query without fetching the results into memory

string
cubrid_version()

(PHP 5, CUBRID >= 8.3.0)
Get the CUBRID PHP module's version

void
curl_close(CurlHandle|resource $handle)

Close a cURL session

CurlHandle|resource|false
curl_copy_handle(CurlHandle|resource $handle)

Copy a cURL handle along with all of its preferences

int
curl_errno(CurlHandle|resource $handle)

Return the last error number

string
curl_error(CurlHandle|resource $handle)

Return a string containing the last error for the current session

string|false
curl_escape(CurlHandle|resource $handle, string $string)
Since: 5.5

URL encodes the given string

string|bool
curl_exec(CurlHandle|resource $handle)

Perform a cURL session

curl_file_create(string $filename, string|null $mime_type = null, string|null $posted_filename = null)
Since: 5.5

(PHP 5 >= 5.5.0)
Create a CURLFile object

mixed
curl_getinfo(CurlHandle|resource $handle, int|null $option)

Get information regarding a specific transfer

resource|false|CurlHandle
curl_init(string|null $url)

Initialize a cURL session

int
curl_multi_add_handle(CurlMultiHandle|resource $multi_handle, CurlHandle|resource $handle)

Add a normal cURL handle to a cURL multi handle

void
curl_multi_close(CurlMultiHandle|resource $multi_handle)

Close a set of cURL handles

int
curl_multi_errno(CurlMultiHandle|resource $multi_handle)
Since: 7.1

Return the last multi curl error number

int
curl_multi_exec(CurlMultiHandle|resource $multi_handle, int $still_running)

Run the sub-connections of the current cURL handle

string|null
curl_multi_getcontent(CurlHandle|resource $handle)

Return the content of a cURL handle if CURLOPT_RETURNTRANSFER is set

array|false
curl_multi_info_read(CurlMultiHandle|resource $multi_handle, int $queued_messages)

Get information about the current transfers

curl_multi_init()

Returns a new cURL multi handle

int|false
curl_multi_remove_handle(CurlMultiHandle|resource $multi_handle, CurlHandle|resource $handle)

Remove a multi handle from a set of cURL handles

int
curl_multi_select(CurlMultiHandle|resource $multi_handle, float $timeout = 1.0)

Wait for activity on any curl_multi connection

bool
curl_multi_setopt(CurlMultiHandle|resource $multi_handle, int $option, mixed $value)
Since: 5.5

(PHP 5 >=5.5.0)
Set an option for the cURL multi handle

string|null
curl_multi_strerror(int $error_code)
Since: 5.5

(PHP 5 >=5.5.0)
Return string describing error code

int
curl_pause(CurlHandle|resource $handle, int $flags)
Since: 5.5

(PHP 5 >=5.5.0)
Pause and unpause a connection

void
curl_reset(CurlHandle|resource $handle)
Since: 5.5

(PHP 5 >=5.5.0)
Reset all options of a libcurl session handle

bool
curl_setopt(CurlHandle|resource $handle, int $option, mixed $value)

Set an option for a cURL transfer

bool
curl_setopt_array(CurlHandle|resource $handle, array $options)
Since: 5.1.3

Set multiple options for a cURL transfer

void
curl_share_close(CurlShareHandle|resource $share_handle)
Since: 5.5

(PHP 5 >=5.5.0)
Close a cURL share handle

int
curl_share_errno(CurlMultiHandle|resource $share_handle)
Since: 7.1

Return the last share curl error number

resource|CurlShareHandle
curl_share_init()
Since: 5.5

(PHP 5 >=5.5.0)
Initialize a cURL share handle

bool
curl_share_setopt(CurlShareHandle|resource $share_handle, int $option, mixed $value)
Since: 5.5

(PHP 5 >=5.5.0)
Set an option for a cURL share handle.

string|null
curl_share_strerror(int $error_code)
Since: 7.1

Return string describing the given error code

string|null
curl_strerror(int $error_code)
Since: 5.5

(PHP 5 >=5.5.0)
Return string describing the given error code

string|false
curl_unescape(CurlHandle|resource $handle, string $string)
Since: 5.5

(PHP 5 >=5.5.0)
Decodes the given URL encoded string

bool
curl_upkeep(CurlHandle $handle)
Since: 8.2

No description

array|false
curl_version(int $age = null)

Gets cURL version information

mixed
current(object|array $array)

Return the current element in an array

string|false
date(string $format, int|null $timestamp)

Format a local time/date

DateTime|false
date_add(DateTime $object, DateInterval $interval)

Alias: {DateTime

DateTime|false
date_create(string $datetime = 'now', DateTimeZone|null $timezone)

Returns new DateTime object

DateTime|false
date_create_from_format(string $format, string $datetime, DateTimeZone|null $timezone)

Alias: {DateTime

DateTimeImmutable|false
date_create_immutable(string $datetime = 'now', DateTimeZone|null $timezone)

(PHP 5.5)
Alias: {DateTimeImmutable new DateTimeImmutable object

DateTimeImmutable|false
date_create_immutable_from_format(string $format, string $datetime, DateTimeZone|null $timezone)

Returns new DateTimeImmutable object formatted according to the specified format

DateTime|false
date_date_set(DateTime $object, int $year, int $month, int $day)

Alias: {DateTime

string
date_default_timezone_get()

Gets the default timezone used by all date/time functions in a script

bool
date_default_timezone_set(string $timezoneId)

Sets the default timezone used by all date/time functions in a script

DateInterval|false
date_diff(DateTimeInterface $baseObject, DateTimeInterface $targetObject, bool $absolute = false)

Returns the difference between two datetime objects Alias: {DateTime

string|false
date_format(DateTimeInterface $object, string $format)

Alias: {DateTime

array|false
date_get_last_errors()

Returns the warnings and errors Alias: {DateTime

DateInterval|false
date_interval_create_from_date_string(string $datetime)

Alias: {DateInterval

string
date_interval_format(DateInterval $object, string $format)

Alias: {DateInterval

DateTime|false
date_isodate_set(DateTime $object, int $year, int $week, int $dayOfWeek = 1)

Alias: {DateTime

DateTime|false
date_modify(DateTime $object, string $modifier)

Alter the timestamp of a DateTime object by incrementing or decrementing in a format accepted by strtotime().

int|false
date_offset_get(DateTimeInterface $object)

Alias: {DateTime

false|array
date_parse(string $datetime)

Returns associative array with detailed info about given date

array
date_parse_from_format(string $format, string $datetime)

Get info about given date formatted according to the specified format

DateTime|false
date_sub(DateTime $object, DateInterval $interval)

Subtracts an amount of days, months, years, hours, minutes and seconds from a datetime object Alias: {DateTime

array|false
date_sun_info(int $timestamp, float $latitude, float $longitude)
Since: 5.1.2

Returns an array with information about sunset/sunrise and twilight begin/end

string|int|float|false
date_sunrise(int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, float|null $latitude, float|null $longitude, float|null $zenith, float|null $utcOffset)
deprecated

Returns time of sunrise for a given day and location

string|int|float|false
date_sunset(int $timestamp, int $returnFormat = SUNFUNCS_RET_STRING, float|null $latitude, float|null $longitude, float|null $zenith, float|null $utcOffset)

Returns time of sunset for a given day and location

date_time_set(DateTime $object, int $hour, int $minute, int $second = 0, int $microsecond = 0)

Alias: {DateTime

int
date_timestamp_get(DateTimeInterface $object)

Gets the unix timestamp Alias: {DateTime

DateTime|false
date_timestamp_set(DateTime $object, int $timestamp)

Sets the date and time based on an unix timestamp Alias: {DateTime

DateTimeZone|false
date_timezone_get(DateTimeInterface $object)

Alias: {DateTime

DateTime|false
date_timezone_set(DateTime|DateTimeInterface $object, DateTimeZone $timezone)

Sets the time zone for the datetime object Alias: {DateTime

datefmt_create(string|null $locale, int $dateType = 0, int $timeType = 0, string|null $timezone = null, IntlCalendar|int|null $calendar = null, string|null $pattern = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Create a date formatter

string|false
datefmt_format(IntlDateFormatter $formatter, object|array|string|int|float $datetime)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Format the date/time value as a string

string|false
datefmt_format_object(IntlCalendar|DateTimeInterface $datetime, array|int|string|null $format = null, string|null $locale = null)

(PHP 5 >= 5.5.0, PECL intl >= 3.0.0)
Formats an object

int|false
datefmt_get_calendar(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the calendar type used for the IntlDateFormatter

IntlCalendar|false|null
datefmt_get_calendar_object(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 3.0.0)
Get copy of formatter's calendar object

int|false
datefmt_get_datetype(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the datetype used for the IntlDateFormatter

int
datefmt_get_error_code(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the error code from last operation

string
datefmt_get_error_message(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the error text from the last operation.

string|false
datefmt_get_locale(IntlDateFormatter $formatter, int $type = ULOC_ACTUAL_LOCALE)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the locale used by formatter

string|false
datefmt_get_pattern(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the pattern used for the IntlDateFormatter

int|false
datefmt_get_timetype(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the timetype used for the IntlDateFormatter

IntlTimeZone|false
datefmt_get_timezone(IntlDateFormatter $formatter)

(PHP 5 >= 5.5.0, PECL intl >= 3.0.0)
Get formatter's timezone

string|false
datefmt_get_timezone_id(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the timezone-id used for the IntlDateFormatter

bool
datefmt_is_lenient(IntlDateFormatter $formatter)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the lenient used for the IntlDateFormatter

array|false
datefmt_localtime(IntlDateFormatter $formatter, string $string, int $offset = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Parse string to a field-based time value

int|float|false
datefmt_parse(IntlDateFormatter $formatter, string $string, int $offset = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Parse string to a timestamp value

bool
datefmt_set_calendar(IntlDateFormatter $formatter, IntlCalendar|int|null $calendar)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
sets the calendar used to the appropriate calendar, which must be

void
datefmt_set_lenient(IntlDateFormatter $formatter, bool $lenient)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Set the leniency of the parser

bool
datefmt_set_pattern(IntlDateFormatter $formatter, string $pattern)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Set the pattern used for the IntlDateFormatter

bool|null
datefmt_set_timezone(IntlDateFormatter $formatter, IntlTimeZone|DateTimeZone|string|null $timezone)

(PHP 5 >= 5.5.0, PECL intl >= 3.0.0)
Sets formatter's timezone

bool
datefmt_set_timezone_id(MessageFormatter $mf, string $zone)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Sets the time zone to use

int|bool
db2_autocommit(resource $connection, int $value = null)

Returns or sets the AUTOCOMMIT state for a database connection

bool
db2_bind_param(resource $stmt, int $parameter_number, string $variable_name, int $parameter_type = DB2_PARAM_IN, int $data_type = 0, int $precision = -1, int $scale = 0)

Binds a PHP variable to an SQL statement parameter

stdClass|false
db2_client_info(resource $connection)

Returns an object with properties that describe the DB2 database client

bool
db2_close(resource $connection)

Closes a database connection

resource|false
db2_column_privileges(resource $connection, string|null $qualifier = null, string|null $schema = null, string|null $table_name = null, string|null $column_name = null)

Returns a result set listing the columns and associated privileges for a table

db2_columnprivileges()

No description

resource|false
db2_columns(resource $connection, string $qualifier = null, string $schema = null, string $table_name = null, string $column_name = null)

Returns a result set listing the columns and associated metadata for a table

bool
db2_commit(resource $connection)

Commits a transaction

string
db2_conn_error(resource|null $connection = null)

Returns a string containing the SQLSTATE returned by the last connection attempt

string
db2_conn_errormsg(resource|null $connection = null)

Returns the last connection error message and SQLCODE value

resource|false
db2_connect(string $database, string|null $username, string|null $password, array $options = [])

Returns a connection to a database

int
db2_cursor_type(resource $stmt)

Returns the cursor type used by a statement resource

string
db2_escape_string(string $string_literal)

Used to escape certain characters

resource|false
db2_exec(resource $connection, string $statement, array $options = [])

Executes an SQL statement directly

bool
db2_execute(resource $stmt, array $parameters = [])

Executes a prepared SQL statement

array|false
db2_fetch_array(resource $stmt, int $row_number = null)

Returns an array, indexed by column position, representing a row in a result set

array|false
db2_fetch_assoc(resource $stmt, int $row_number = null)

Returns an array, indexed by column name, representing a row in a result set

array|false
db2_fetch_both(resource $stmt, int $row_number = null)

Returns an array, indexed by both column name and position, representing a row in a result set

stdClass|false
db2_fetch_object(resource $stmt, int $row_number = null)

Returns an object with properties representing columns in the fetched row

bool
db2_fetch_row(resource $stmt, int $row_number = null)

Sets the result set pointer to the next row or requested row

int|false
db2_field_display_size(resource $stmt, int|string $column)

Returns the maximum number of bytes required to display a column

string|false
db2_field_name(resource $stmt, int|string $column)

Returns the name of the column in the result set

int|false
db2_field_num(resource $stmt, int|string $column)

Returns the position of the named column in a result set

int|false
db2_field_precision(resource $stmt, int|string $column)

Returns the precision of the indicated column in a result set

int|false
db2_field_scale(resource $stmt, int|string $column)

Returns the scale of the indicated column in a result set

string|false
db2_field_type(resource $stmt, int|string $column)

Returns the data type of the indicated column in a result set

int|false
db2_field_width(resource $stmt, int|string $column)

Returns the width of the current value of the indicated column in a result set

resource|false
db2_foreign_keys(resource $connection, string|null $qualifier, string|null $schema, string $table_name)

Returns a result set listing the foreign keys for a table

db2_foreignkeys()

No description

bool
db2_free_result(resource $stmt)

Frees resources associated with a result set

bool
db2_free_stmt(resource $stmt)

Frees resources associated with the indicated statement resource

string|false
db2_get_option(resource $resource, string $option)

Retrieves an option value for a statement resource or a connection resource

string|null
db2_last_insert_id(resource $resource)

Returns the auto generated ID of the last insert query that successfully executed on this connection.

string|false
db2_lob_read(resource $stmt, int $colnum, int $length)

Gets a user defined size of LOB files with each invocation

resource|false
db2_next_result(resource $stmt)

Requests the next result set from a stored procedure

int|false
db2_num_fields(resource $stmt)

Returns the number of fields contained in a result set

int|false
db2_num_rows(resource $stmt)

Returns the number of rows affected by an SQL statement

bool
db2_pclose(resource $connection)

Closes a persistent database connection

resource|false
db2_pconnect(string $database, string|null $username, string|null $password, array $options = [])

Returns a persistent connection to a database

resource|false
db2_prepare(resource $connection, string $statement, array $options = [])

Prepares an SQL statement to be executed

resource|false
db2_primary_keys(resource $connection, string|null $qualifier, string|null $schema, string $table_name)

Returns a result set listing primary keys for a table

db2_primarykeys()

No description

resource|false
db2_procedure_columns(resource $connection, string|null $qualifier, string $schema, string $procedure, string|null $parameter)

Returns a result set listing stored procedure parameters

db2_procedurecolumns()

No description

resource|false
db2_procedures(resource $connection, string|null $qualifier, string $schema, string $procedure)

Returns a result set listing the stored procedures registered in a database

mixed
db2_result(resource $stmt, int|string $column)

Returns a single column from a row in the result set

bool
db2_rollback(resource $connection)

Rolls back a transaction

stdClass|false
db2_server_info(resource $connection)

Returns an object with properties that describe the DB2 database server

bool
db2_set_option(resource $resource, array $options, int $type)

Set options for connection or statement resources

bool
db2_setoption()

No description

resource|false
db2_special_columns(resource $connection, string|null $qualifier, string $schema, string $table_name, int $scope)

Returns a result set listing the unique row identifier columns for a table

db2_specialcolumns()

No description

resource|false
db2_statistics(resource $connection, string|null $qualifier, string|null $schema, string $table_name, bool $unique)

Returns a result set listing the index and statistics for a table

string
db2_stmt_error(resource|null $stmt = null)

Returns a string containing the SQLSTATE returned by an SQL statement

string
db2_stmt_errormsg(resource|null $stmt = null)

Returns a string containing the last SQL statement error message

resource|false
db2_table_privileges(resource $connection, string|null $qualifier = null, string|null $schema = null, string|null $table_name = null)

Returns a result set listing the tables and associated privileges in a database

db2_tableprivileges()

No description

resource|false
db2_tables(resource $connection, string|null $qualifier = null, string|null $schema = null, string|null $table_name = null, string|null $table_type = null)

Returns a result set listing the tables and associated metadata in a database

void
dba_close(resource $dba)

Close a DBA database

bool
dba_delete(string $key, resource $dba)

Delete DBA entry specified by key

bool
dba_exists(string $key, resource $dba)

Check whether key exists

string|false
dba_fetch(string $key, int $skip, resource $dba)

Fetch data specified by key

string|false
dba_firstkey(resource $dba)

Fetch first key

array
dba_handlers(bool $full_info = false)

List all the handlers available

bool
dba_insert(string $key, string $value, resource $dba)

Insert entry

array|false
dba_key_split(string|false|null $key)

Splits a key in string representation into array representation

array
dba_list()

List all open database files

string|false
dba_nextkey(resource $dba)

Fetch next key

dba_open(string $path, string $mode, string|null $handler = null, int $permission = 0644, int $map_size = 0, int|null $flags = null)

No description

bool
dba_optimize(resource $dba)

Optimize database

dba_popen(string $path, string $mode, string|null $handler = null, int $permission = 0644, int $map_size = 0, int|null $flags = null)

No description

bool
dba_replace(string $key, string $value, resource $dba)

Replace or insert entry

bool
dba_sync(resource $dba)

Synchronize database

string
dcgettext(string $domain, string $message, int $category)

Overrides the domain for a single lookup

string
dcngettext(string $domain, string $singular, string $plural, int $count, int $category)

Plural version of dcgettext

void
debug_zval_dump(mixed $value, mixed ...$values)

Dumps a string representation of an internal zend value to output

debugger_connect()

No description

debugger_connector_pid()

No description

debugger_get_server_start_time()

No description

debugger_print()

No description

debugger_start_debug()

No description

string
decbin(int $num)

Decimal to binary

string
dechex(int $num)

Decimal to hexadecimal

string
decoct(int $num)

Decimal to octal

void
defer(callable $callback)

Defers the execution of a callback function until the surrounding function of a coroutine returns.

void
define_syslog_variables()

Initializes all syslog related variables

string|false
deflate_add(DeflateContext|resource $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH)
Since: 7.0

Incrementally deflate data

resource|false|DeflateContext
deflate_init(int $encoding, array $options = [])
Since: 7.0

Initialize an incremental deflate context

float
deg2rad(float $num)

Converts the number in degrees to the radian equivalent

string
dgettext(string $domain, string $message)

Override the current domain

void
dio_close(resource $fd)

Closes the file descriptor given by fd.

mixed
dio_fcntl(resource $fd, int $cmd, mixed ...$args)

The dio_fcntl() function performs the operation specified by cmd on the file descriptor fd.

resource|false
dio_open(string $filename, int $flags, int $mode = 0)

Opens a file (creating it if necessary) at a lower level than theC library input/ouput stream functions allow

resource|null
dio_raw(string $filename, string $mode, array|null $options)

Opens a raw direct IO stream.

string
dio_read(resource $fd, int $len = 1024)

Reads bytes from a file descriptor.

int
dio_seek(resource $fd, int $pos, int $whence = SEEK_SET)

Seeks to pos on fd from whence

resource|null
dio_serial(string $filename, string $mode, array|null $options)

Opens a serial direct IO stream.

array|null
dio_stat(resource $fd)

Gets stat information about the file descriptor fd

void
dio_tcsetattr(resource $fd, array $options)

Sets terminal attributes and baud rate for a serial port

bool
dio_truncate(resource $fd, int $offset)

Truncates a file to at most offset bytes in size.

int
dio_write(resource $fd, string $data, int $len = 0)

Writes data to fd with optional truncation at length

Directory|false
dir(string $directory, resource $context)

Return an instance of the Directory class

string
dirname(string $path, int $levels = 1)

Returns a parent directory's path

float|false
disk_free_space(string $directory)

Returns available space in directory

float|false
disk_total_space(string $directory)

Returns the total size of a filesystem or disk partition

float|false
diskfreespace(string $directory)

Alias of {disk_free_space}

bool
dl(string $extension_filename)

Loads a php extension at runtime

string
dngettext(string $domain, string $singular, string $plural, int $count)

Plural version of dgettext

bool
dns_check_record(string $hostname, string $type = 'MX')

Alias: {checkdnsrr}

bool
dns_get_mx(string $hostname, array $hosts, array $weights)

Alias: {getmxrr}

array|false
dns_get_record(string $hostname, int $type = DNS_ANY, array $authoritative_name_servers, array $additional_records, bool $raw = false)

Fetch DNS Resource Records associated with a hostname

DOMElement|null
dom_import_simplexml(object $node)

Gets a DOMElement object from a SimpleXMLElement object

float
doubleval(mixed $value)

(PHP 4.2.0, PHP 5)
Alias: {floatval} Get float value of a variable

int
easter_date(int|null $year, int $mode = CAL_EASTER_DEFAULT)

Get Unix timestamp for midnight on Easter of a given year

int
easter_days(int|null $year, int $mode = CAL_EASTER_DEFAULT)

Get number of days after March 21 on which Easter falls for a given year

resource|bool
eio_busy(int $delay, int $pri = EIO_PRI_DEFAULT, mixed $callback = null, mixed $data = null)

Artificially increase load. Could be useful in tests, benchmarking

void
eio_cancel(resource $req)

Cancels a request

resource|bool
eio_chmod(string $path, int $mode, int $pri = 0, mixed $callback = null, mixed $data = null)

Change file/directory permissions

resource|bool
eio_chown(string $path, int $uid, int $gid = -1, int $pri = 0, mixed $callback = null, mixed|null $data = null)

Change file/directory permissions

resource|bool
eio_close(mixed $fd, int $pri = 0, mixed $callback = null, mixed $data = null)

Close file

resource|bool
eio_custom(mixed $execute, int $pri, mixed $callback, mixed $data = null)

Execute custom request like any other eio_* call

resource|bool
eio_dup2(mixed $fd, mixed $fd2, int $pri = 0, mixed $callback = null, mixed $data = null)

Duplicate a file descriptor

bool
eio_event_loop()

Polls libeio until all requests proceeded

resource|bool
eio_fallocate(mixed $fd, int $mode, int $offset, int $length, int $pri = EIO_PRI_DEFAULT, mixed $callback = null, mixed $data = null)

Allows the caller to directly manipulate the allocated disk space for a file

resource|bool
eio_fchmod(mixed $fd, int $mode, int $pri = 0, mixed $callback = null, mixed $data = null)

Change file permissions

resource|bool
eio_fchown(mixed $fd, int $uid, int $gid = -1, int $pri = 0, mixed $callback = null, mixed $data = null)

Change file ownership

resource|bool
eio_fdatasync(mixed $fd, int $pri = 0, mixed $callback = null, mixed $data = null)

Synchronize a file's in-core state with storage device

resource|bool
eio_fstat(mixed $fd, int $pri, mixed $callback, mixed $data = null)

Get file status

resource|bool
eio_fstatvfs(mixed $fd, int $pri, mixed $callback, mixed $data = null)

Get file system statistics

resource|bool
eio_fsync(mixed $fd, int $pri = 0, mixed $callback = null, mixed $data = null)

Synchronize a file's in-core state with storage device

resource|bool
eio_ftruncate(mixed $fd, int $offset = 0, int $pri = 0, mixed $callback = null, mixed $data = null)

Truncate a file

resource|bool
eio_futime(mixed $fd, float $atime, float $mtime, int $pri = 0, mixed $callback = null, mixed $data = null)

Change file last access and modification times

resource|null
eio_get_event_stream()

Get stream representing a variable used in internal communications with libeio

string
eio_get_last_error(resource $req)

Returns string describing the last error associated with a request resource

resource
eio_grp(mixed $callback, mixed $data = null)

Creates a request group

void
eio_grp_add(resource $grp, resource $req)

Adds a request to the request group

void
eio_grp_cancel(resource $grp)

Cancels a request group

void
eio_grp_limit(resource $grp, int $limit)

Set group limit

resource|bool
eio_lstat(string $path, int $pri, mixed $callback, mixed $data = null)

Get file status

resource|false
eio_mkdir(string $path, int $mode, int $pri = 0, mixed $callback = null, mixed $data = null)

Create directory

resource|bool
eio_mknod(string $path, int $mode, int $dev, int $pri = 0, mixed $callback = null, mixed $data = null)

Create a special or ordinary file

resource|bool
eio_nop(int $pri = EIO_PRI_DEFAULT, mixed $callback = null, mixed $data = null)

Does nothing, except go through the whole request cycle

int
eio_npending()

Returns number of finished, but unhandled requests

int
eio_nready()

Returns number of not-yet handled requests

int
eio_nreqs()

Returns number of requests to be processed

int
eio_nthreads()

Returns number of threads currently in use

resource|false
eio_open(string $path, int $flags, int $mode, int $pri, mixed $callback, mixed $data = null)

Opens a file

int
eio_poll()

Can be to be called whenever there are pending requests that need finishing

resource|bool
eio_read(mixed $fd, int $length, int $offset, int $pri, mixed $callback, mixed $data = null)

Read from a file descriptor at given offset

resource|bool
eio_readahead(mixed $fd, int $offset, int $length, int $pri = EIO_PRI_DEFAULT, mixed $callback = null, mixed $data = null)

Perform file readahead into page cache

resource|bool
eio_readdir(string $path, int $flags, int $pri, mixed $callback, mixed $data = null)

Reads through a whole directory

resource|bool
eio_realpath(string $path, int $pri, mixed $callback, mixed $data = null)

Get the canonicalized absolute pathname

resource|bool
eio_rename(string $path, string $new_path, int $pri = 0, mixed $callback = null, mixed $data = null)

Change the name or location of a file

resource|bool
eio_rmdir(string $path, int $pri = 0, mixed $callback = null, mixed $data = null)

Remove a directory

resource|bool
eio_seek(mixed $fd, int $offset, int $length, int $pri = EIO_PRI_DEFAULT, mixed $callback = null, mixed $data = null)

Repositions the offset of the open file associated with the fd argument to the argument offset according to the directive whence

resource|bool
eio_sendfile(mixed $out_fd, mixed $in_fd, int $offset, int $length, int $pri, mixed $callback, mixed $data = null)

Transfer data between file descriptors

void
eio_set_max_idle(int $value)

Set maximum number of idle threads

void
eio_set_max_parallel(int $value)

Set maximum parallel threads

void
eio_set_max_poll_reqs(int $value)

Set maximum number of requests processed in a poll

void
eio_set_max_poll_time(float $nseconds)

Set maximum poll time

void
eio_set_min_parallel(int $value)

Set minimum parallel thread number

resource|bool
eio_stat(string $path, int $pri, mixed $callback, mixed $data = null)

Get file status

resource|bool
eio_statvfs(string $path, int $pri, mixed $callback, mixed $data = null)

Get file system statistics

resource|bool
eio_sync(int $pri = 0, mixed $callback = null, mixed $data = null)

Commit buffer cache to disk

resource|bool
eio_sync_file_range(mixed $fd, int $offset, int $nbytes, int $flags, int $pri = EIO_PRI_DEFAULT, mixed $callback = null, mixed $data = null)

Sync a file segment with disk

resource|bool
eio_syncfs(mixed $fd, int $pri = EIO_PRI_DEFAULT, mixed $callback = null, mixed $data = null)

Calls Linux' syncfs syscall, if available

resource|false
eio_truncate(string $path, int $offset = 0, int $pri = 0, mixed $callback = null, mixed $data = null)

Truncate a file

resource|bool
eio_utime(string $path, float $atime, float $mtime, int $pri = 0, mixed $callback = null, mixed $data = null)

Change file last access and modification times

resource|bool
eio_write(mixed $fd, mixed $str, int $length = 0, int $offset = 0, int $pri = 0, mixed $callback = null, mixed $data = null)

Write to file

array|false
enchant_broker_describe(resource|EnchantBroker $broker)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0)
Enumerates the Enchant providers

bool
enchant_broker_dict_exists(resource|EnchantBroker $broker, string $tag)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Whether a dictionary exists or not. Using non-empty tag

bool
enchant_broker_free(resource|EnchantBroker $broker)
Since: 5.3

Free the broker resource and its dictionaries

bool
enchant_broker_free_dict(resource|EnchantDictionary $dict)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Free a dictionary resource

string|false
enchant_broker_get_dict_path(resource|EnchantBroker $broker, int $dict_type)

Get the directory path for a given backend

string|false
enchant_broker_get_error(resource|EnchantBroker $broker)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Returns the last error of the broker

resource|false|EnchantBroker
enchant_broker_init()

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
create a new broker object capable of requesting

array
enchant_broker_list_dicts(resource|EnchantBroker $broker)

(PHP 5 >= 5.3.0, PECL enchant >= 1.0.1)
Returns a list of available dictionaries

resource|false|EnchantDictionary
enchant_broker_request_dict(resource|EnchantBroker $broker, string $tag)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
create a new dictionary using a tag

resource|false|EnchantDictionary
enchant_broker_request_pwl_dict(resource|EnchantBroker $broker, string $filename)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
creates a dictionary using a PWL file

bool
enchant_broker_set_dict_path(resource|EnchantBroker $broker, int $dict_type, string $value)

Set the directory path for a given backend

bool
enchant_broker_set_ordering(resource|EnchantBroker $broker, string $tag, string $ordering)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Declares a preference of dictionaries to use for the language

void
enchant_dict_add(EnchantDictionary $dictionary, string $word)
Since: 8.0

(PHP 8)
Add a word to personal word list

void
enchant_dict_add_to_personal(resource $dict, string $word)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
add a word to personal word list

void
enchant_dict_add_to_session(resource|EnchantDictionary $dict, string $word)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
add 'word' to this spell-checking session

bool
enchant_dict_check(resource|EnchantDictionary $dict, string $word)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Check whether a word is correctly spelled or not

array
enchant_dict_describe(resource|EnchantDictionary $dict)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Describes an individual dictionary

string|false
enchant_dict_get_error(resource|EnchantDictionary $dict)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Returns the last error of the current spelling-session

bool
enchant_dict_is_added(EnchantDictionary $dictionary, string $word)
Since: 8.0

(PHP 8)
Whether or not 'word' exists in this spelling-session

bool
enchant_dict_is_in_session(resource $dict, string $word)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
whether or not 'word' exists in this spelling-session

bool
enchant_dict_quick_check(resource|EnchantDictionary $dict, string $word, array|null $suggestions = null)

(PHP 5 >= 5.3.0, PECL enchant:0.2.0-1.0.1)
Check the word is correctly spelled and provide suggestions

void
enchant_dict_store_replacement(resource|EnchantDictionary $dict, string $mis, string $cor)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Add a correction for a word

array|false
enchant_dict_suggest(resource|EnchantDictionary $dict, string $word)

(PHP 5 >= 5.3.0, PECL enchant >= 0.1.0 )
Will return a list of values if any of those pre-conditions are not met

mixed
end(object|array $array)

Set the internal pointer of an array to its last element

int
ereg(string $pattern, string $string, array|null $regs = null)

Regular expression match

string
ereg_replace(string $pattern, string $replacement, string $string)

Replace regular expression

int
eregi(string $pattern, string $string, array $regs = null)

Case insensitive regular expression match

string
eregi_replace(string $pattern, string $replacement, string $string)

Replace regular expression case insensitive

void
error_clear_last()
Since: 7.0

Clear the most recent error

array|null
error_get_last()

Get the last occurred error

bool
error_log(string $message, int $message_type = 0, string|null $destination, string|null $additional_headers)

Send an error message to the defined error handling routines

string
escapeshellarg(string $arg)

Escape a string to be used as a shell argument

string
escapeshellcmd(string $command)

Escape shell metacharacters

bool
event_add(resource $event, int $timeout = -1)

Add an event to the set of monitored events

(PECL libevent >= 0.0.1)

void
event_base_free(resource $event_base)

Destroy event base

(PECL libevent >= 0.0.1)

int
event_base_loop(resource $event_base, int $flags = null)

Handle events

(PECL libevent >= 0.0.1)

bool
event_base_loopbreak(resource $event_base)

Tells the event_base to exit its loop immediately.

(PECL libevent >= 0.0.1)

bool
event_base_loopexit(resource $event_base, int $timeout = -1)

Tells an event_base to stop looping after a given time has elapsed

(PECL libevent >= 0.0.1)

resource|false
event_base_new()

Create and initialize new event base

bool
event_base_priority_init(resource $event_base, int $npriorities)

Set the number of different event priority levels

(PECL libevent >= 0.0.2)

bool
event_base_set(resource $event, resource $base)

Associate event base with an event

(PECL libevent >= 0.0.1)

bool
event_buffer_base_set(resource $bevent, resource $event_base)

Associate buffered event with an event base

(PECL libevent >= 0.0.1)

bool
event_buffer_disable(resource $bevent, int $events)

Disable a buffered event

(PECL libevent >= 0.0.1)

bool
event_buffer_enable(resource $bevent, int $events)

Enables the specified buffered event.

(PECL libevent >= 0.0.1)

void
event_buffer_fd_set(resource $bevent, resource $fd)

Changes the file descriptor on which the buffered event operates.

(PECL libevent >= 0.0.1)

void
event_buffer_free(resource $bevent)

Destroys the specified buffered event and frees all the resources associated.

(PECL libevent >= 0.0.1)

resource|false
event_buffer_new(resource $stream, callable|null $readcb, callable|null $writecb, callable $errorcb, mixed $arg = null)

Create new buffered event

(PECL libevent >= 0.0.1)

bool
event_buffer_priority_set(resource $bevent, int $priority)

Assign a priority to a buffered event. Use it after initializing event, but before adding an event to the event_base.

(PECL libevent >= 0.0.1)

string
event_buffer_read(resource $bevent, int $data_size)

Reads data from the input buffer of the buffered event.

(PECL libevent >= 0.0.1)

bool
event_buffer_set_callback(resource $bevent, callable|null $readcb, callable|null $writecb, callable $errorcb, mixed $arg = null)

Set or reset callbacks for a buffered event

(PECL libevent >= 0.0.4)

void
event_buffer_timeout_set(resource $bevent, int $read_timeout, int $write_timeout)

Sets the read and write timeouts for the specified buffered event.

(PECL libevent >= 0.0.1)

void
event_buffer_watermark_set(resource $bevent, int $events, int $lowmark, int $highmark)

Set the watermarks for read and write events.

(PECL libevent >= 0.0.1)

bool
event_buffer_write(resource $bevent, string $data, int $data_size = -1)

Writes data to the specified buffered event.

(PECL libevent >= 0.0.1)

bool
event_del(resource $event)

Remove an event from the set of monitored events.

(PECL libevent >= 0.0.1)

void
event_free(resource $event)

Free event resource.

(PECL libevent >= 0.0.1)

resource|false
event_new()

Creates and returns a new event resource.

(PECL libevent >= 0.0.1)

bool
event_set(resource $event, resource|int $fd, int $events, callable $callback, mixed $arg = null)

Prepares the event to be used in event_add().

(PECL libevent >= 0.0.1)

bool
event_timer_add(resource $event, int $timeout = -1)

Alias of event_add().

bool
event_timer_del(resource $event)

Alias of event_del().

resource|false
event_timer_new()

Alias of event_new().

bool
event_timer_pending(resource $event, int $timeout = -1)

Checks if a specific event is pending or scheduled.

void
event_timer_set(resource $event, callable $callback, mixed $arg = null)

Prepares the timer event to be used in event_add().

string|false
exec(string $command, array $output, int $result_code)

Execute an external program

int|false
exif_imagetype(string $filename)

Determine the type of an image

array|false
exif_read_data(string $file, string|null $required_sections, bool $as_arrays = false, bool $read_thumbnail = false)

Reads the EXIF headers from JPEG or TIFF

string|false
exif_tagname(int $index)

Get the header name for an index

string|false
exif_thumbnail(string|resource $file, int $width, int $height, int $image_type)

Retrieve the embedded thumbnail of a TIFF or JPEG image

float
exp(float $num)

Calculates the exponent of e

int
expect_expectl(resource $expect, array $cases, array $match = [])
Since: PECL expect >= 0.1.0

Waits until the output from a process matches one of the patterns, a specified time period has passed, or an EOF is seen.

resource|false
expect_popen(string $command)
Since: PECL expect >= 0.1.0

Execute command via Bourne shell, and open the PTY stream to the process

string[]|false
explode(string $separator, string $string, int $limit = PHP_INT_MAX)

Split a string by a string

float
expm1(float $num)

Returns exp(number) - 1, computed in a way that is accurate even when the value of number is close to zero

int
extract(array $array, int $flags = EXTR_OVERWRITE, string $prefix = "")

Import variables into the current symbol table from an array

int
ezmlm_hash(string $addr)

Calculate the hash value needed by EZMLM

bool
fann_cascadetrain_on_data(resource $ann, resource $data, int $max_neurons, int $neurons_between_reports, float $desired_error)

Trains on an entire dataset, for a period of time using the Cascade2 training algorithm

bool
fann_cascadetrain_on_file(resource $ann, string $filename, int $max_neurons, int $neurons_between_reports, float $desired_error)

Trains on an entire dataset read from file, for a period of time using the Cascade2 training algorithm.

bool
fann_clear_scaling_params(resource $ann)

Clears scaling parameters

resource|false
fann_copy(resource $ann)

Creates a copy of a fann structure

resource|false
fann_create_from_file(string $configuration_file)

Constructs a backpropagation neural network from a configuration file

resource|false
fann_create_shortcut(int $num_layers, int $num_neurons1, int $num_neurons2, int ...$_)

Creates a standard backpropagation neural network which is not fully connectected and has shortcut connections

resource|false
fann_create_shortcut_array(int $num_layers, array $layers)

Creates a standard backpropagation neural network which is not fully connectected and has shortcut connections

resource|false
fann_create_sparse(float $connection_rate, int $num_layers, int $num_neurons1, int $num_neurons2, int ...$_)

Creates a standard backpropagation neural network, which is not fully connected

resource|false
fann_create_sparse_array(float $connection_rate, int $num_layers, array $layers)

Creates a standard backpropagation neural network, which is not fully connected using an array of layer sizes

resource|false
fann_create_standard(int $num_layers, int $num_neurons1, int $num_neurons2, int ...$_)

Creates a standard fully connected backpropagation neural network

resource|false
fann_create_standard_array(int $num_layers, array $layers)

Creates a standard fully connected backpropagation neural network using an array of layer sizes

resource|false
fann_create_train(int $num_data, int $num_input, int $num_output)

Creates an empty training data struct

resource|false
fann_create_train_from_callback(int $num_data, int $num_input, int $num_output, callable $user_function)

Creates the training data struct from a user supplied function

bool
fann_descale_input(resource $ann, array $input_vector)

Scale data in input vector after get it from ann based on previously calculated parameters

bool
fann_descale_output(resource $ann, array $output_vector)

Scale data in output vector after get it from ann based on previously calculated parameters

bool
fann_descale_train(resource $ann, resource $train_data)

Descale input and output data based on previously calculated parameters

bool
fann_destroy(resource $ann)

Destroys the entire network and properly freeing all the associated memory

bool
fann_destroy_train(resource $train_data)

Destructs the training data

resource|false
fann_duplicate_train_data(resource $data)

Returns an exact copy of a fann train data

float|false
fann_get_MSE(resource $ann)

Reads the mean square error from the network

int|false
fann_get_activation_function(resource $ann, int $layer, int $neuron)

Returns the activation function

float|false
fann_get_activation_steepness(resource $ann, int $layer, int $neuron)

Returns the activation steepness for supplied neuron and layer number

array
fann_get_bias_array(resource $ann)

Get the number of bias in each layer in the network

int|false
fann_get_bit_fail(resource $ann)

The number of fail bits

float|false
fann_get_bit_fail_limit(resource $ann)

Returns the bit fail limit used during training

array|false
fann_get_cascade_activation_functions(resource $ann)

Returns the cascade activation functions

int|false
fann_get_cascade_activation_functions_count(resource $ann)

Returns the number of cascade activation functions

array|false
fann_get_cascade_activation_steepnesses(resource $ann)

Returns the cascade activation steepnesses

int|false
fann_get_cascade_activation_steepnesses_count(resource $ann)

The number of activation steepnesses

float|false
fann_get_cascade_candidate_change_fraction(resource $ann)

Returns the cascade candidate change fraction

float|false
fann_get_cascade_candidate_limit(resource $ann)

Return the candidate limit

float|false
fann_get_cascade_candidate_stagnation_epochs(resource $ann)

Returns the number of cascade candidate stagnation epochs

int|false
fann_get_cascade_max_cand_epochs(resource $ann)

Returns the maximum candidate epochs

int|false
fann_get_cascade_max_out_epochs(resource $ann)

Returns the maximum out epochs

int|false
fann_get_cascade_min_cand_epochs(resource $ann)

Returns the minimum candidate epochs

int|false
fann_get_cascade_min_out_epochs(resource $ann)

Returns the minimum out epochs

int|false
fann_get_cascade_num_candidate_groups(resource $ann)

Returns the number of candidate groups

int|false
fann_get_cascade_num_candidates(resource $ann)

Returns the number of candidates used during training

float|false
fann_get_cascade_output_change_fraction(resource $ann)

Returns the cascade output change fraction

int|false
fann_get_cascade_output_stagnation_epochs(resource $ann)

Returns the number of cascade output stagnation epochs

float|false
fann_get_cascade_weight_multiplier(resource $ann)

Returns the weight multiplier

array
fann_get_connection_array(resource $ann)

Get connections in the network

float|false
fann_get_connection_rate(resource $ann)

Get the connection rate used when the network was created

int|false
fann_get_errno(resource $errdat)

Returns the last error number

string|false
fann_get_errstr(resource $errdat)

Returns the last errstr

array
fann_get_layer_array(resource $ann)

Get the number of neurons in each layer in the network

float|false
fann_get_learning_momentum(resource $ann)

Returns the learning momentum

float|false
fann_get_learning_rate(resource $ann)

Returns the learning rate

int|false
fann_get_network_type(resource $ann)

Get the type of neural network it was created as

int|false
fann_get_num_input(resource $ann)

Get the number of input neurons

int|false
fann_get_num_layers(resource $ann)

Get the number of layers in the neural network

int|false
fann_get_num_output(resource $ann)

Get the number of output neurons

float|false
fann_get_quickprop_decay(resource $ann)

Returns the decay which is a factor that weights should decrease in each iteration during quickprop training

float|false
fann_get_quickprop_mu(resource $ann)

Returns the mu factor

float|false
fann_get_rprop_decrease_factor(resource $ann)

Returns the increase factor used during RPROP training

float|false
fann_get_rprop_delta_max(resource $ann)

Returns the maximum step-size

float|false
fann_get_rprop_delta_min(resource $ann)

Returns the minimum step-size

int|false
fann_get_rprop_delta_zero(resource $ann)

Returns the initial step-size

float|false
fann_get_rprop_increase_factor(resource $ann)

Returns the increase factor used during RPROP training

float|false
fann_get_sarprop_step_error_shift(resource $ann)

Returns the sarprop step error shift

float|false
fann_get_sarprop_step_error_threshold_factor(resource $ann)

Returns the sarprop step error threshold factor

float|false
fann_get_sarprop_temperature(resource $ann)

Returns the sarprop temperature

float|false
fann_get_sarprop_weight_decay_shift(resource $ann)

Returns the sarprop weight decay shift

int|false
fann_get_total_connections(resource $ann)

Get the total number of connections in the entire network

int|false
fann_get_total_neurons(resource $ann)

Get the total number of neurons in the entire network

int|false
fann_get_train_error_function(resource $ann)

Returns the error function used during training

int|false
fann_get_train_stop_function(resource $ann)

Returns the stop function used during training

int|false
fann_get_training_algorithm(resource $ann)

Returns the training algorithm

bool
fann_init_weights(resource $ann, resource $train_data)

Initialize the weights using Widrow + Nguyen’s algorithm

int|false
fann_length_train_data(resource $data)

Returns the number of training patterns in the train data

resource|false
fann_merge_train_data(resource $data1, resource $data2)

Merges the train data

int|false
fann_num_input_train_data(resource $data)

Returns the number of inputs in each of the training patterns in the train data

int|false
fann_num_output_train_data(resource $data)

Returns the number of outputs in each of the training patterns in the train data

void
fann_print_error(resource $errdat)

Prints the error string

bool
fann_randomize_weights(resource $ann, float $min_weight, float $max_weight)

Give each connection a random weight between min_weight and max_weight

resource|false
fann_read_train_from_file(string $filename)

Reads a file that stores training data

bool
fann_reset_MSE(string $ann)

Resets the mean square error from the network

void
fann_reset_errno(resource $errdat)

Resets the last error number

void
fann_reset_errstr(resource $errdat)

Resets the last error string

array|false
fann_run(resource $ann, array $input)

Will run input through the neural network

bool
fann_save(resource $ann, string $configuration_file)

Saves the entire network to a configuration file

bool
fann_save_train(resource $data, string $file_name)

Save the training structure to a file

bool
fann_scale_input(resource $ann, array $input_vector)

Scale data in input vector before feed it to ann based on previously calculated parameters

bool
fann_scale_input_train_data(resource $train_data, float $new_min, float $new_max)

Scales the inputs in the training data to the specified range

bool
fann_scale_output(resource $ann, array $output_vector)

Scale data in output vector before feed it to ann based on previously calculated parameters

bool
fann_scale_output_train_data(resource $train_data, float $new_min, float $new_max)

Scales the outputs in the training data to the specified range

bool
fann_scale_train(resource $ann, resource $train_data)

Scale input and output data based on previously calculated parameters

bool
fann_scale_train_data(resource $train_data, float $new_min, float $new_max)

Scales the inputs and outputs in the training data to the specified range

bool
fann_set_activation_function(resource $ann, int $activation_function, int $layer, int $neuron)

Sets the activation function for supplied neuron and layer

bool
fann_set_activation_function_hidden(resource $ann, int $activation_function)

Sets the activation function for all of the hidden layers

bool
fann_set_activation_function_layer(resource $ann, int $activation_function, int $layer)

Sets the activation function for all the neurons in the supplied layer.

bool
fann_set_activation_function_output(resource $ann, int $activation_function)

Sets the activation function for the output layer

bool
fann_set_activation_steepness(resource $ann, float $activation_steepness, int $layer, int $neuron)

Sets the activation steepness for supplied neuron and layer number

bool
fann_set_activation_steepness_hidden(resource $ann, float $activation_steepness)

Sets the steepness of the activation steepness for all neurons in the all hidden layers

bool
fann_set_activation_steepness_layer(resource $ann, float $activation_steepness, int $layer)

Sets the activation steepness for all of the neurons in the supplied layer number

bool
fann_set_activation_steepness_output(resource $ann, float $activation_steepness)

Sets the steepness of the activation steepness in the output layer

bool
fann_set_bit_fail_limit(resource $ann, float $bit_fail_limit)

Set the bit fail limit used during training

bool
fann_set_callback(resource $ann, callable $callback)

Sets the callback function for use during training

bool
fann_set_cascade_activation_functions(resource $ann, array $cascade_activation_functions)

Sets the array of cascade candidate activation functions

bool
fann_set_cascade_activation_steepnesses(resource $ann, array $cascade_activation_steepnesses_count)

Sets the array of cascade candidate activation steepnesses

bool
fann_set_cascade_candidate_change_fraction(resource $ann, float $cascade_candidate_change_fraction)

Sets the cascade candidate change fraction

bool
fann_set_cascade_candidate_limit(resource $ann, float $cascade_candidate_limit)

Sets the candidate limit

bool
fann_set_cascade_candidate_stagnation_epochs(resource $ann, int $cascade_candidate_stagnation_epochs)

Sets the number of cascade candidate stagnation epochs

bool
fann_set_cascade_max_cand_epochs(resource $ann, int $cascade_max_cand_epochs)

Sets the max candidate epochs

bool
fann_set_cascade_max_out_epochs(resource $ann, int $cascade_max_out_epochs)

Sets the maximum out epochs

bool
fann_set_cascade_min_cand_epochs(resource $ann, int $cascade_min_cand_epochs)

Sets the min candidate epochs

bool
fann_set_cascade_min_out_epochs(resource $ann, int $cascade_min_out_epochs)

Sets the minimum out epochs

bool
fann_set_cascade_num_candidate_groups(resource $ann, int $cascade_num_candidate_groups)

Sets the number of candidate groups

bool
fann_set_cascade_output_change_fraction(resource $ann, float $cascade_output_change_fraction)

Sets the cascade output change fraction

bool
fann_set_cascade_output_stagnation_epochs(resource $ann, int $cascade_output_stagnation_epochs)

Sets the number of cascade output stagnation epochs

bool
fann_set_cascade_weight_multiplier(resource $ann, float $cascade_weight_multiplier)

Sets the weight multiplier

void
fann_set_error_log(resource $errdat, string $log_file)

Sets where the errors are logged to

bool
fann_set_input_scaling_params(resource $ann, resource $train_data, float $new_input_min, float $new_input_max)

Calculate input scaling parameters for future use based on training data

bool
fann_set_learning_momentum(resource $ann, float $learning_momentum)

Sets the learning momentum

bool
fann_set_learning_rate(resource $ann, float $learning_rate)

Sets the learning rate

bool
fann_set_output_scaling_params(resource $ann, resource $train_data, float $new_output_min, float $new_output_max)

Calculate output scaling parameters for future use based on training data

bool
fann_set_quickprop_decay(resource $ann, float $quickprop_decay)

Sets the quickprop decay factor

bool
fann_set_quickprop_mu(resource $ann, float $quickprop_mu)

Sets the quickprop mu factor

bool
fann_set_rprop_decrease_factor(resource $ann, float $rprop_decrease_factor)

Sets the decrease factor used during RPROP training

bool
fann_set_rprop_delta_max(resource $ann, float $rprop_delta_max)

Sets the maximum step-size

bool
fann_set_rprop_delta_min(resource $ann, float $rprop_delta_min)

Sets the minimum step-size

bool
fann_set_rprop_delta_zero(resource $ann, float $rprop_delta_zero)

Sets the initial step-size

bool
fann_set_rprop_increase_factor(resource $ann, float $rprop_increase_factor)

Sets the increase factor used during RPROP training

bool
fann_set_sarprop_step_error_shift(resource $ann, float $sarprop_step_error_shift)

Sets the sarprop step error shift

bool
fann_set_sarprop_step_error_threshold_factor(resource $ann, float $sarprop_step_error_threshold_factor)

Sets the sarprop step error threshold factor

bool
fann_set_sarprop_temperature(resource $ann, float $sarprop_temperature)

Sets the sarprop temperature

bool
fann_set_sarprop_weight_decay_shift(resource $ann, float $sarprop_weight_decay_shift)

Sets the sarprop weight decay shift

bool
fann_set_scaling_params(resource $ann, resource $train_data, float $new_input_min, float $new_input_max, float $new_output_min, float $new_output_max)

Calculate input and output scaling parameters for future use based on training data

bool
fann_set_train_error_function(resource $ann, int $error_function)

Sets the error function used during training

bool
fann_set_train_stop_function(resource $ann, int $stop_function)

Sets the stop function used during training

bool
fann_set_training_algorithm(resource $ann, int $training_algorithm)

Sets the training algorithm

bool
fann_set_weight(resource $ann, int $from_neuron, int $to_neuron, float $weight)

Set a connection in the network

bool
fann_set_weight_array(resource $ann, array $connections)

Set connections in the network

bool
fann_shuffle_train_data(resource $train_data)

Shuffles training data, randomizing the order

resource|false
fann_subset_train_data(resource $data, int $pos, int $length)

Returns an copy of a subset of the train data

bool
fann_test(resource $ann, array $input, array $desired_output)

Test with a set of inputs, and a set of desired outputs

float|false
fann_test_data(resource $ann, resource $data)

Test a set of training data and calculates the MSE for the training data

bool
fann_train(resource $ann, array $input, array $desired_output)

Train one iteration with a set of inputs, and a set of desired outputs

float|false
fann_train_epoch(resource $ann, resource $data)

Train one epoch with a set of training data

bool
fann_train_on_data(resource $ann, resource $data, int $max_epochs, int $epochs_between_reports, float $desired_error)

Trains on an entire dataset for a period of time

bool
fann_train_on_file(resource $ann, string $filename, int $max_epochs, int $epochs_between_reports, float $desired_error)

Trains on an entire dataset, which is read from file, for a period of time

bool
fastcgi_finish_request()
Since: 5.3.3

This function flushes all response data to the client and finishes the request.

bool
fbird_add_user(resource $service_handle, string $user_name, string $password, string $first_name = null, string $middle_name = null, string $last_name = null)

This is an alias of ibase_add_user Add a user to a security database (only for IB6 or later)

int
fbird_affected_rows(resource $link_identifier = null)

This is an alias of ibase_affected_rows Return the number of rows that were affected by the previous query

mixed
fbird_backup(resource $service_handle, string $source_db, string $dest_file, int $options = null, bool $verbose = null)

This is an alias of ibase_backup Initiates a backup task in the service manager and returns immediately

void
fbird_blob_add(resource $blob_handle, string $data)

This is an alias of ibase_blob_add Add data into a newly created blob

bool
fbird_blob_cancel(resource $blob_handle)

This is an alias of ibase_blob_cancel Cancel creating blob

mixed
fbird_blob_close(resource $blob_handle)

This is an alias of ibase_blob_close Close blob

resource|false
fbird_blob_create(resource $link_identifier = null)

This is an alias of ibase_blob_create Create a new blob for adding data

bool
fbird_blob_echo(string $blob_id)

This is an alias of ibase_blob_echo Output blob contents to browser

string|false
fbird_blob_get(resource $blob_handle, int $len)

This is an alias of ibase_blob_get Get len bytes data from open blob

string|false
fbird_blob_import(resource $link_identifier, resource $file_handle)

This is an alias of ibase_blob_import Create blob, copy file in it, and close it

array
fbird_blob_info(resource $link_identifier, string $blob_id)

This is an alias of ibase_blob_info Return blob length and other useful info

resource|false
fbird_blob_open(resource $link_identifier, string $blob_id)

This is an alias of ibase_blob_open Open blob for retrieving data parts

bool
fbird_close(resource $connection_id = null)

This is an alias of ibase_close Close a connection to an InterBase database

bool
fbird_commit(resource $link_or_trans_identifier = null)

This is an alias of ibase_commit Commit a transaction

bool
fbird_commit_ret(resource $link_or_trans_identifier = null)

This is an alias of ibase_commit_ret Commit a transaction without closing it

resource|false
fbird_connect(string $database = null, string $username = null, string $password = null, string $charset = null, int $buffers = null, int $dialect = null, string $role = null, int $sync = null)

This is an alias of ibase_connect Open a connection to an InterBase database

string
fbird_db_info(resource $service_handle, string $db, int $action, int $argument = null)

This is an alias of ibase_db_info Request statistics about a database

bool
fbird_delete_user(resource $service_handle, string $user_name)

This is an alias of ibase_delete_user Delete a user from a security database (only for IB6 or later)

bool
fbird_drop_db(resource $connection = null)

This is an alias of ibase_drop_db Drops a database

int|false
fbird_errcode()

This is an alias of ibase_errcode Return an error code

string|false
fbird_errmsg()

This is an alias of ibase_errmsg Return error messages

resource|bool
fbird_execute(resource $query, mixed ...$bind_arg)

This is an alias of ibase_execute Execute a previously prepared query

array|false
fbird_fetch_assoc(resource $result, int $fetch_flag = null)

This is an alias of ibase_fetch_assoc Fetch a result row from a query as an associative array

object|false
fbird_fetch_object(resource $result_id, int $fetch_flag = null)

This is an alias of ibase_fetch_object Get an object from a InterBase database

array|false
fbird_fetch_row(resource $result_identifier, int $fetch_flag = null)

This is an alias of ibase_fetch_row Fetch a row from an InterBase database

array
fbird_field_info(resource $result, int $field_number)

This is an alias of ibase_field_info Get information about a field

bool
fbird_free_event_handler(resource $event)

This is an alias of ibase_free_event_handler Cancels a registered event handler

bool
fbird_free_query(resource $query)

This is an alias of ibase_free_query Free memory allocated by a prepared query

bool
fbird_free_result(resource $result_identifier)

This is an alias of ibase_free_result Free a result set

mixed
fbird_gen_id(string $generator, int $increment = null, resource $link_identifier = null)

This is an alias of ibase_gen_id Increments the named generator and returns its new value

bool
fbird_maintain_db(resource $service_handle, string $db, int $action, int $argument = null)

This is an alias of ibase_maintain_db Execute a maintenance command on the database server

bool
fbird_modify_user(resource $service_handle, string $user_name, string $password, string $first_name = null, string $middle_name = null, string $last_name = null)

This is an alias of ibase_modify_user Modify a user to a security database (only for IB6 or later)

bool
fbird_name_result(resource $result, string $name)

This is an alias of ibase_name_result Assigns a name to a result set

int
fbird_num_fields(resource $result_id)

This is an alias of ibase_num_fields Get the number of fields in a result set

int
fbird_num_params(resource $query)

This is an alias of ibase_num_params Return the number of parameters in a prepared query

array
fbird_param_info(resource $query, int $param_number)

This is an alias of ibase_param_info Return information about a parameter in a prepared query

resource|false
fbird_pconnect(string $database = null, string $username = null, string $password = null, string $charset = null, int $buffers = null, int $dialect = null, string $role = null, int $sync = null)

This is an alias of ibase_pconnect Open a persistent connection to an InterBase database

resource|false
fbird_prepare(string $query)

This is an alias of ibase_prepare Prepare a query for later binding of parameter placeholders and execution

resource|bool
fbird_query(resource $link_identifier = null, string $query, int $bind_args = null)

This is an alias of ibase_query Execute a query on an InterBase database

mixed
fbird_restore(resource $service_handle, string $source_file, string $dest_db, int $options = null, bool $verbose = null)

This is an alias of ibase_restore Initiates a restore task in the service manager and returns immediately

bool
fbird_rollback(resource $link_or_trans_identifier = null)

This is an alias of ibase_rollback Roll back a transaction

bool
fbird_rollback_ret(resource $link_or_trans_identifier = null)

This is an alias of ibase_rollback_ret Roll back a transaction without closing it

string
fbird_server_info(resource $service_handle, int $action)

This is an alias of ibase_server_info Request information about a database server

resource|false
fbird_service_attach(string $host, string $dba_username, string $dba_password)

This is an alias of ibase_service_attach Connect to the service manager

bool
fbird_service_detach(resource $service_handle)

This is an alias of ibase_service_detach Disconnect from the service manager

resource
fbird_set_event_handler(callable $event_handler, string $event_name1, string $event_name2 = null, string ...$_)

This is an alias of ibase_set_event_handler Register a callback function to be called when events are posted

resource|false
fbird_trans(int $trans_args = null, resource $link_identifier = null)

This is an alias of ibase_trans Begin a transaction

string
fbird_wait_event(string $event_name1, string $event_name2 = null, string ...$_)

This is an alias of ibase_wait_event Wait for an event to be posted by the database

bool
fclose(resource $stream)

Closes an open file pointer

bool
fdatasync(resource $stream)
Since: 8.1

Sync file data only to storage. Similar to fsync but does not flush modified metadata. POSIX only, aliased to fsync on Win32.

float
fdiv(float $num1, float $num2)
Since: 8.0

Performs a floating-point division under IEEE 754 semantics. Division by zero is considered well-defined and will return one of Inf, -Inf or NaN.

bool
feof(resource $stream)

Tests for end-of-file on a file pointer

bool
fflush(resource $stream)

Flushes the output to a file

string|false
fgetc(resource $stream)

Gets character from file pointer

array|false|null
fgetcsv(resource $stream, int|null $length = null, string $separator = ',', string $enclosure = '"', string $escape = '\\')

Gets line from file pointer and parse for CSV fields

string|false
fgets(resource $stream, int|null $length)

Gets line from file pointer

false|string
fgetss(resource $handle, int|null $length = null, string $allowable_tags = null)

Gets line from file pointer and strip HTML tags

array|false
file(string $filename, int $flags = 0, resource $context)

Reads entire file into an array

bool
file_exists(string $filename)

Checks whether a file or directory exists

string|false
file_get_contents(string $filename, bool $use_include_path = false, resource $context, int $offset = 0, int|null $length)

Reads entire file into a string

int|false
file_put_contents(string $filename, mixed $data, int $flags = 0, resource $context)

Write a string to a file

int|false
fileatime(string $filename)

Gets last access time of file

int|false
filectime(string $filename)

Gets inode change time of file

int|false
filegroup(string $filename)

Gets file group

int|false
fileinode(string $filename)

Gets file inode

int|false
filemtime(string $filename)

Gets file modification time

int|false
fileowner(string $filename)

Gets file owner

int|false
fileperms(string $filename)

Gets file permissions

int|false
filesize(string $filename)

Gets file size

string|false
filetype(string $filename)

Gets file type

bool
filter_has_var(int $input_type, string $var_name)

Checks if variable of specified type exists

int|false
filter_id(string $name)

Returns the filter ID belonging to a named filter

mixed
filter_input(int $type, string $var_name, int $filter = FILTER_DEFAULT, array|int $options = 0)

Gets a specific external variable by name and optionally filters it

array|false|null
filter_input_array(int $type, array|int $options = FILTER_DEFAULT, bool $add_empty = true)

Gets external variables and optionally filters them

array
filter_list()

Returns a list of all supported filters

mixed
filter_var(mixed $value, int $filter = FILTER_DEFAULT, array|int $options = 0)

Filters a variable with a specified filter

array|false|null
filter_var_array(array $array, array|int $options = FILTER_DEFAULT, bool $add_empty = true)

Gets multiple variables and optionally filters them

string|false
finfo_buffer(resource $finfo, string $string, int $flags = FILEINFO_NONE, resource $context)

(PHP 5 >= 5.3.0, PECL fileinfo >= 0.1.0)
Return information about a string buffer

bool
finfo_close(resource $finfo)

(PHP >= 5.3.0, PECL fileinfo >= 0.1.0)
Close fileinfo resource

string|false
finfo_file(resource $finfo, string $filename, int $flags = 0, resource $context)

(PHP >= 5.3.0, PECL fileinfo >= 0.1.0)
Return information about a file

resource|false
finfo_open(int $flags = 0, string|null $magic_database = null)

(PHP >= 5.3.0, PECL fileinfo >= 0.1.0)
Create a new fileinfo resource

bool
finfo_set_flags(resource $finfo, int $flags)

(PHP >= 5.3.0, PECL fileinfo >= 0.1.0)
Set libmagic configuration options

float
floatval(mixed $value)

Get float value of a variable

bool
flock(resource $stream, int $operation, int $would_block)

Portable advisory file locking

float|false
floor(int|float $num)

Round fractions down

void
flush()

Flush system output buffer

float
fmod(float $num1, float $num2)

Returns the floating point remainder (modulo) of the division of the arguments

bool
fnmatch(string $pattern, string $filename, int $flags = 0)

Match filename against a pattern

resource|false
fopen(string $filename, string $mode, bool $use_include_path = false, resource $context)

Opens file or URL

mixed
forward_static_call(callable $callback, mixed ...$args)

Call a static method

mixed
forward_static_call_array(callable $callback, array $args)

Call a static method and pass the arguments as array

int|false
fpassthru(resource $stream)

Output all remaining data on a file pointer

array|false
fpm_get_status()
Since: 7.3

Returns FPM status info array

float
fpow(float $num, float $exponent)
Since: 8.4

No description

int
fprintf(resource $stream, string $format, mixed ...$values)

Write a formatted string to a stream

int|false
fputcsv(resource $stream, array $fields, string $separator = ",", string $enclosure = '"', string $escape = "\\", string $eol = PHP_EOL)

Format line as CSV and write to file pointer

int|false
fputs(resource $stream, string $data, int|null $length)

Alias: {fwrite}

bool
frankenphp_finish_request()

Flushes all response data to the client and finishes the request.

bool
frankenphp_handle_request(callable $callback)

Handles an HTTP request with the provided callbacl.

array
frankenphp_request_headers()

Fetches all HTTP request headers from the current request.

array|false
frankenphp_response_headers()

Fetches all HTTP response headers.

string|false
fread(resource $stream, int $length)

Binary-safe file read

int
frenchtojd(int $month, int $day, int $year)

Converts a date from the French Republican Calendar to a Julian Day Count

array|int|false|null
fscanf(resource $stream, string $format, mixed ...$vars)

Parses input from a file according to a format

int
fseek(resource $stream, int $offset, int $whence = SEEK_SET)

Seeks on a file pointer

resource|false
fsockopen(string $hostname, int $port = -1, int $error_code, string $error_message, float|null $timeout)

Open Internet or Unix domain socket connection

array|false
fstat(resource $stream)

Gets information about a file using an open file pointer

bool
fsync(resource $stream)
Since: 8.1

Sync file to storage. Similar to fflush() but blocks until OS buffers have flushed.

int|false
ftell(resource $stream)

Returns the current position of the file read/write pointer

int
ftok(string $filename, string $project_id)

Convert a pathname and a project identifier to a System V IPC key

bool
ftp_alloc(resource $ftp, int $size, string $response)

Allocates space for a file to be uploaded

bool
ftp_append(resource $ftp, string $remote_filename, string $local_filename, int $mode = FTP_BINARY)
Since: 7.2

append the contents of a file to another file on the ftp server

bool
ftp_cdup(resource $ftp)

Changes to the parent directory

bool
ftp_chdir(resource $ftp, string $directory)

Changes the current directory on a FTP server

int|false
ftp_chmod(resource $ftp, int $permissions, string $filename)

Set permissions on a file via FTP

bool
ftp_close(resource $ftp)

Closes an FTP connection

resource|false
ftp_connect(string $hostname, int $port = 21, int $timeout = 90)

Opens an FTP connection

bool
ftp_delete(resource $ftp, string $filename)

Deletes a file on the FTP server

bool
ftp_exec(resource $ftp, string $command)

Requests execution of a command on the FTP server

bool
ftp_fget(resource $ftp, resource $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0)

Downloads a file from the FTP server and saves to an open file

bool
ftp_fput(resource $ftp, string $remote_filename, resource $stream, int $mode = FTP_BINARY, int $offset = 0)

Uploads from an open file to the FTP server

bool
ftp_get(resource $ftp, string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0)

Downloads a file from the FTP server

int|bool
ftp_get_option(resource $ftp, int $option)

Retrieves various runtime behaviours of the current FTP stream

bool
ftp_login(resource $ftp, string $username, string $password)

Logs in to an FTP connection

int
ftp_mdtm(resource $ftp, string $filename)

Returns the last modified time of the given file

string|false
ftp_mkdir(resource $ftp, string $directory)

Creates a directory

array|false
ftp_mlsd(resource $ftp, string $directory)
Since: 7.2

returns a list of files in the given directory

int
ftp_nb_continue(resource $ftp)

Continues retrieving/sending a file (non-blocking)

int
ftp_nb_fget(resource $ftp, resource $stream, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0)

Retrieves a file from the FTP server and writes it to an open file (non-blocking)

int
ftp_nb_fput(resource $ftp, string $remote_filename, resource $stream, int $mode = FTP_BINARY, int $offset = 0)

Stores a file from an open file to the FTP server (non-blocking)

int|false
ftp_nb_get(resource $ftp, string $local_filename, string $remote_filename, int $mode = FTP_BINARY, int $offset = 0)

Retrieves a file from the FTP server and writes it to a local file (non-blocking)

int|false
ftp_nb_put(resource $ftp, string $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0)

Stores a file on the FTP server (non-blocking)

array|false
ftp_nlist(resource $ftp, string $directory)

Returns a list of files in the given directory

bool
ftp_pasv(resource $ftp, bool $enable)

Turns passive mode on or off

bool
ftp_put(resource $ftp, string $remote_filename, string $local_filename, int $mode = FTP_BINARY, int $offset = 0)

Uploads a file to the FTP server

string|false
ftp_pwd(resource $ftp)

Returns the current directory name

bool
ftp_quit(resource $ftp)

Alias of ftp_close

string[]
ftp_raw(resource $ftp, string $command)

Sends an arbitrary command to an FTP server

array|false
ftp_rawlist(resource $ftp, string $directory, bool $recursive = false)

Returns a detailed list of files in the given directory

bool
ftp_rename(resource $ftp, string $from, string $to)

Renames a file or a directory on the FTP server

bool
ftp_rmdir(resource $ftp, string $directory)

Removes a directory

bool
ftp_set_option(resource $ftp, int $option, mixed $value)

Set miscellaneous runtime FTP options

bool
ftp_site(resource $ftp, string $command)

Sends a SITE command to the server

int
ftp_size(resource $ftp, string $filename)

Returns the size of the given file

resource|false
ftp_ssl_connect(string $hostname, int $port = 21, int $timeout = 90)

Opens a Secure SSL-FTP connection

string|false
ftp_systype(resource $ftp)

Returns the system type identifier of the remote FTP server

bool
ftruncate(resource $stream, int $size)

Truncates a file to a given length

int|false
fwrite(resource $stream, string $data, int|null $length)

Binary-safe file write

array
gd_info()

Retrieve information about the currently installed GD library

gearman_bugreport()

No description

gearman_client_add_options($client_object, $option)

No description

gearman_client_add_server($client_object, $host, $port)

No description

gearman_client_add_servers($client_object, $servers)

No description

gearman_client_add_task($client_object, $function_name, $workload, $context, $unique)

No description

gearman_client_add_task_background($client_object, $function_name, $workload, $context, $unique)

No description

gearman_client_add_task_high($client_object, $function_name, $workload, $context, $unique)

No description

gearman_client_add_task_high_background($client_object, $function_name, $workload, $context, $unique)

No description

gearman_client_add_task_low($client_object, $function_name, $workload, $context, $unique)

No description

gearman_client_add_task_low_background($client_object, $function_name, $workload, $context, $unique)

No description

gearman_client_add_task_status($client_object, $job_handle, $context)

No description

gearman_client_clear_fn($client_object)

No description

gearman_client_clone($client_object)

No description

gearman_client_context($client_object)

No description

gearman_client_create($client_object)

No description

gearman_client_do($client_object, $function_name, $workload, $unique)

No description

gearman_client_do_background($client_object, $function_name, $workload, $unique)

No description

gearman_client_do_high($client_object, $function_name, $workload, $unique)

No description

gearman_client_do_high_background($client_object, $function_name, $workload, $unique)

No description

gearman_client_do_job_handle($client_object)

No description

gearman_client_do_low($client_object, $function_name, $workload, $unique)

No description

gearman_client_do_low_background($client_object, $function_name, $workload, $unique)

No description

gearman_client_do_normal($client_object, string $function_name, string $workload, string $unique)

No description

gearman_client_do_status($client_object)

No description

gearman_client_echo($client_object, $workload)

No description

gearman_client_errno($client_object)

No description

gearman_client_error($client_object)

No description

gearman_client_job_status($client_object, $job_handle)

No description

gearman_client_options($client_object)

No description

gearman_client_remove_options($client_object, $option)

No description

gearman_client_return_code($client_object)

No description

gearman_client_run_tasks($data)

No description

gearman_client_set_complete_fn($client_object, $callback)

No description

gearman_client_set_context($client_object, $context)

No description

gearman_client_set_created_fn($client_object, $callback)

No description

gearman_client_set_data_fn($client_object, $callback)

No description

gearman_client_set_exception_fn($client_object, $callback)

No description

gearman_client_set_fail_fn($client_object, $callback)

No description

gearman_client_set_options($client_object, $option)

No description

gearman_client_set_status_fn($client_object, $callback)

No description

gearman_client_set_timeout($client_object, $timeout)

No description

gearman_client_set_warning_fn($client_object, $callback)

No description

gearman_client_set_workload_fn($client_object, $callback)

No description

gearman_client_timeout($client_object)

No description

gearman_client_wait($client_object)

No description

gearman_job_function_name($job_object)

No description

gearman_job_handle($job_object)

Get the job handle

gearman_job_return_code($job_object)

No description

gearman_job_send_complete($job_object, $result)

No description

gearman_job_send_data($job_object, $data)

No description

gearman_job_send_exception($job_object, $exception)

No description

gearman_job_send_fail($job_object)

No description

gearman_job_send_status($job_object, $numerator, $denominator)

No description

gearman_job_send_warning($job_object, $warning)

No description

gearman_job_unique($job_object)

No description

gearman_job_workload($job_object)

No description

gearman_job_workload_size($job_object)

No description

gearman_task_data($task_object)

No description

gearman_task_data_size($task_object)

No description

gearman_task_denominator($task_object)

No description

gearman_task_function_name($task_object)

No description

gearman_task_is_known($task_object)

No description

gearman_task_is_running($task_object)

No description

gearman_task_job_handle($task_object)

No description

gearman_task_numerator($task_object)

No description

gearman_task_recv_data($task_object, $data_len)

No description

gearman_task_return_code($task_object)

No description

gearman_task_send_workload($task_object, $data)

No description

gearman_task_unique($task_object)

No description

gearman_verbose_name($verbose)

No description

gearman_version()

No description

gearman_worker_add_function($worker_object, $function_name, $function, $data, $timeout)

No description

gearman_worker_add_options($worker_object, $option)

No description

gearman_worker_add_server($worker_object, $host, $port)

No description

gearman_worker_add_servers($worker_object, $servers)

No description

gearman_worker_clone($worker_object)

No description

gearman_worker_create()

No description

gearman_worker_echo($worker_object, $workload)

No description

gearman_worker_errno($worker_object)

No description

gearman_worker_error($worker_object)

No description

gearman_worker_grab_job($worker_object)

No description

gearman_worker_options($worker_object)

No description

gearman_worker_register($worker_object, $function_name, $timeout)

No description

gearman_worker_remove_options($worker_object, $option)

No description

gearman_worker_return_code($worker_object)

No description

gearman_worker_set_options($worker_object, $option)

No description

gearman_worker_set_timeout($worker_object, $timeout)

No description

gearman_worker_timeout($worker_object)

No description

gearman_worker_unregister($worker_object, $function_name)

No description

gearman_worker_unregister_all($worker_object)

No description

gearman_worker_wait($worker_object)

No description

gearman_worker_work($worker_object)

No description

string|false
geoip_asnum_by_name(string $hostname)
Since: 1.1.0

(PECL geoip >= 1.1.0)

The geoip_asnum_by_name() function will return the Autonomous System Numbers (ASN) associated with an IP address.

string|false
geoip_continent_code_by_name(string $hostname)

(PECL geoip >= 1.0.3)
Get the two letter continent code

string|false
geoip_country_code3_by_name(string $hostname)

(PECL geoip >= 0.2.0)
Get the three letter country code

string|false
geoip_country_code_by_name(string $hostname)

(PECL geoip >= 0.2.0)
Get the two letter country code

string|false
geoip_country_name_by_name(string $hostname)

(PECL geoip >= 0.2.0)
Get the full country name

string|null
geoip_database_info(int $database = GEOIP_COUNTRY_EDITION)

(PECL geoip >= 0.2.0)
Get GeoIP Database information

bool|null
geoip_db_avail(int $database)

(PECL geoip >= 1.0.1)
Determine if GeoIP Database is available

string|null
geoip_db_filename(int $database)

(PECL geoip >= 1.0.1)
Returns the filename of the corresponding GeoIP Database

array
geoip_db_get_all_info()

(PECL geoip >= 1.0.1)
Returns detailed information about all GeoIP database types

int
geoip_id_by_name(string $hostname)

(PECL geoip >= 0.2.0)
Get the Internet connection type

string|false
geoip_isp_by_name(string $hostname)

(PECL geoip >= 1.0.2)
Get the Internet Service Provider (ISP) name

string|false
geoip_netspeedcell_by_name(string $hostname)
Since: 1.1.0

(PECL geoip >= 1.1.0)

The geoip_netspeedcell_by_name() function will return the Internet connection type and speed corresponding to a hostname or an IP address.

This function is only available if using GeoIP Library version 1.4.8 or newer.

This function is currently only available to users who have bought a commercial GeoIP NetSpeedCell Edition. A warning will be issued if the proper database cannot be located.

The return value is a string, common values are:
- Cable/DSL
- Dialup
- Cellular
- Corporate

string|false
geoip_org_by_name(string $hostname)

(PECL geoip >= 0.2.0)
Get the organization name

array|false
geoip_record_by_name(string $hostname)

(PECL geoip >= 0.2.0)
Returns the detailed City information found in the GeoIP Database

array|false
geoip_region_by_name(string $hostname)

(PECL geoip >= 0.2.0)
Get the country code and region

string|false
geoip_region_name_by_code(string $country_code, string $region_code)

(PECL geoip >= 1.0.4)
Returns the region name for some country and region code combo

void
geoip_setup_custom_directory(string $path)
Since: 1.1.0

(PECL geoip >= 1.1.0)

The geoip_setup_custom_directory() function will change the default directory of the GeoIP database. This is equivalent to changing geoip.custom_directory

string|false
geoip_time_zone_by_country_and_region(string $country_code, string $region_code = null)

(PECL geoip >= 1.0.4)
Returns the time zone for some country and region code combo

object|array|false
get_browser(string|null $user_agent, bool $return_array = false)

Tells what the user's browser is capable of

get_call_stack()

No description

array|string|false
get_cfg_var(string $option)

Gets the value of a PHP configuration option

string
get_current_user()

Gets the name of the owner of the current PHP script

string
get_debug_type(mixed $value)
Since: 8.0

Get the type or object name of a variable

array|false
get_headers(string $url, bool $associative = false, resource $context = null)

Fetches all the headers sent by the server in response to an HTTP request

array
get_html_translation_table(int $table = 0, int $flags = ENT_QUOTES | ENT_SUBSTITUTE, string $encoding = "UTF-8")

Returns the translation table used by htmlspecialchars and htmlentities

string|false
get_include_path()

Gets the current include_path configuration option

int
get_magic_quotes_gpc()

Gets the current configuration setting of magic quotes gpc

int
get_magic_quotes_runtime()

Gets the current active configuration setting of magic_quotes_runtime

array
get_mangled_object_vars(object $object)
Since: 7.4

It returns the same result as (array) $object, with the exception that it ignores overloaded array casts, such as used by ArrayObject.

array|false
get_meta_tags(string $filename, bool $use_include_path = false)

Extracts all meta tag content attributes from a file and returns an array

int
get_resource_id(resource $resource)
Since: 8.0

A more obvious and type-safe form of "(int) $resource"

false|array
getallheaders()

Fetches all HTTP headers from the current request.

string|false
getcwd()

Gets the current working directory

array
getdate(int|null $timestamp)

Get date/time information

Directory|false
getdir(string $directory, resource $context = null)
Since: 8.0

Alias of dir()

array|string|false
getenv($varname, string|null $name = null, bool $local_only = false)

Gets the value of an environment variable

string|false
gethostbyaddr(string $ip)

Get the Internet host name corresponding to a given IP address

string
gethostbyname(string $hostname)

Get the IPv4 address corresponding to a given Internet host name

array|false
gethostbynamel(string $hostname)

Get a list of IPv4 addresses corresponding to a given Internet host name

string|false
gethostname()

Gets the host name

array|false
getimagesize(string $filename, array $image_info)

Get the size of an image

array|false
getimagesizefromstring(string $string, array $image_info)
Since: 5.4

Get the size of an image from a string.

int|false
getlastmod()

Gets time of last page modification

bool
getmxrr(string $hostname, array $hosts, array $weights)

Get MX records corresponding to a given Internet host name

int|false
getmygid()

Get PHP script owner's GID

int|false
getmyinode()

Gets the inode of the current script

int|false
getmypid()

Gets PHP's process ID

int|false
getmyuid()

Gets PHP script owner's UID

array|false
getopt(string $short_options, array $long_options = [], int $rest_index)

Gets options from the command line argument list

int|false
getprotobyname(string $protocol)

Get protocol number associated with protocol name

string|false
getprotobynumber(int $protocol)

Get protocol name associated with protocol number

int
getrandmax()

Show largest possible random value

array|false
getrusage(int $mode = 0)

Gets the current resource usages

int|false
getservbyname(string $service, string $protocol)

Get port number associated with an Internet service and protocol

string|false
getservbyport(int $port, string $protocol)

Get Internet service which corresponds to port and protocol

string
gettext(string $message)

Lookup a message in the current domain

array|float
gettimeofday(bool $as_float = false)

Get current time

string
gettype(mixed $value)

Get the type of a variable

array|false
glob(string $pattern, int $flags = 0)

Find pathnames matching a pattern

string|false
gmdate(string $format, int|null $timestamp)

Format a GMT/UTC date/time

int|false
gmmktime(int $hour, int|null $minute = null, int|null $second = null, int|null $month = null, int|null $day = null, int|null $year = null, int $is_dst = null)

Get Unix timestamp for a GMT date

GMP
gmp_abs(GMP|string|int $num)

Absolute value

GMP
gmp_add(GMP|string|int $num1, GMP|string|int $num2)

Add numbers

GMP
gmp_and(GMP|string|int $num1, GMP|string|int $num2)

Bitwise AND

GMP
gmp_binomial(GMP|string|int $n, int $k)
Since: 7.3

Calculates binomial coefficient

void
gmp_clrbit(GMP $num, int $index)

Clear bit

int
gmp_cmp(GMP|string|int $num1, GMP|string|int $num2)

Compare numbers

GMP
gmp_com(GMP|string|int $num)

Calculates one's complement

GMP
gmp_div(GMP|string|int $num1, GMP|string|int $num2, int $rounding_mode = GMP_ROUND_ZERO)

Divide numbers

GMP
gmp_div_q(GMP|string|int $num1, GMP|string|int $num2, int $rounding_mode = GMP_ROUND_ZERO)

Divide numbers

array
gmp_div_qr(GMP|string|int $num1, GMP|string|int $num2, int $rounding_mode = GMP_ROUND_ZERO)

Divide numbers and get quotient and remainder

GMP
gmp_div_r(GMP|string|int $num1, GMP|string|int $num2, int $rounding_mode = GMP_ROUND_ZERO)

Remainder of the division of numbers

GMP
gmp_divexact(GMP|string|int $num1, GMP|string|int $num2)

Exact division of numbers

string
gmp_export(GMP|string|int $num, int $word_size = 1, int $flags = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN)
Since: 5.6.1

Export to a binary string

GMP
gmp_fact(GMP|string|int $num)

Factorial

GMP
gmp_gcd(GMP|string|int $num1, GMP|string|int $num2)

Calculate GCD

array
gmp_gcdext(GMP|string|int $num1, GMP|string|int $num2)

Calculate GCD and multipliers

int
gmp_hamdist(GMP|string|int $num1, GMP|string|int $num2)

Hamming distance

GMP
gmp_import(string $data, int $word_size = 1, int $flags = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN)
Since: 5.6.1

Import from a binary string

GMP
gmp_init(string|int $num, int $base = 0)

Create GMP number

int
gmp_intval(GMP|string|int $num)

Convert GMP number to integer

GMP|false
gmp_invert(GMP|string|int $num1, GMP|string|int $num2)

Inverse by modulo

int
gmp_jacobi(GMP|string|int $num1, GMP|string|int $num2)

Jacobi symbol

int
gmp_kronecker(GMP|string|int $num1, GMP|string|int $num2)
Since: 7.3

Computes the Kronecker symbol

GMP
gmp_lcm(GMP|string|int $num1, GMP|string|int $num2)
Since: 7.3

Computes the least common multiple of A and B

int
gmp_legendre(GMP|string|int $num1, GMP|string|int $num2)

Legendre symbol

GMP
gmp_mod(GMP|string|int $num1, GMP|string|int $num2)

Modulo operation

GMP
gmp_mul(GMP|string|int $num1, GMP|string|int $num2)

Multiply numbers

GMP
gmp_neg(GMP|string|int $num)

Negate number

GMP
gmp_nextprime(GMP|string|int $num)

Find next prime number

GMP
gmp_or(GMP|string|int $num1, GMP|string|int $num2)

Bitwise OR

bool
gmp_perfect_power(GMP|string|int $num)
Since: 7.3

Perfect power check

bool
gmp_perfect_square(GMP|string|int $num)

Perfect square check

int
gmp_popcount(GMP|string|int $num)

Population count

GMP
gmp_pow(GMP|string|int $num, int $exponent)

Raise number into power

GMP
gmp_powm(GMP|string|int $num, GMP|string|int $exponent, GMP|string|int $modulus)

Raise number into power with modulo

int
gmp_prob_prime(GMP|string|int $num, int $repetitions = 10)

Check if number is "probably prime"

resource|GMP
gmp_random(int $limiter = 20)

Random number

GMP
gmp_random_bits(int $bits)

Random number

GMP
gmp_random_range(GMP|string|int $min, GMP|string|int $max)

Random number

void
gmp_random_seed(GMP|string|int $seed)
Since: 7.0

Sets the RNG seed

GMP
gmp_root(GMP|string|int $num, int $nth)
Since: 5.6

Takes the nth root of a and returns the integer component of the result.

array
gmp_rootrem(GMP|string|int $num, int $nth)
Since: 5.6

Takes the nth root of a and returns the integer component and remainder of the result.

int
gmp_scan0(GMP|string|int $num1, int $start)

Scan for 0

int
gmp_scan1(GMP|string|int $num1, int $start)

Scan for 1

void
gmp_setbit(GMP $num, int $index, bool $value = true)

Set bit

int
gmp_sign(GMP|string|int $num)

Sign of number

GMP
gmp_sqrt(GMP|string|int $num)

Calculate square root

array
gmp_sqrtrem(GMP|string|int $num)

Square root with remainder

string
gmp_strval(GMP|string|int $num, int $base = 10)

Convert GMP number to string

GMP
gmp_sub(GMP|string|int $num1, GMP|string|int $num2)

Subtract numbers

bool
gmp_testbit(GMP|string|int $num, int $index)

Tests if a bit is set

GMP
gmp_xor(GMP|string|int $num1, GMP|string|int $num2)

Bitwise XOR

string|false
gmstrftime(string $format, int|null $timestamp)
deprecated

Format a GMT/UTC time/date according to locale settings

bool
gnupg_adddecryptkey(resource $res, string $kye, string $passphrase)

Add a key for decryption

bool
gnupg_addencryptkey(resource $res, string $kye)

Add a key for encryption

bool
gnupg_addsignkey(resource $res, string $kye, string $passphrase)

Add a key for signing

bool
gnupg_cleardecryptkeys(resource $res)

Removes all keys which were set for decryption before

bool
gnupg_clearencryptkeys(resource $res)

Removes all keys which were set for encryption before

bool
gnupg_clearsignkeys(resource $res)

Removes all keys which were set for signing before

string|false
gnupg_decrypt(resource $res, string $enctext)

Decrypts a given text

array|false
gnupg_decryptverify(resource $res, string $enctext, string $plaintext)

Decrypts and verifies a given text and returns information about the signature.

gnupg_deletekey($res, $kye, $allow_secret)

No description

string|false
gnupg_encrypt(resource $res, string $text)

Encrypts a given text

string|false
gnupg_encryptsign(resource $res, string $text)

Encrypts and signs a given text

string|false
gnupg_export(resource $res, string $pattern)

Exports a key

gnupg_getengineinfo($res)

No description

string|false
gnupg_geterror(resource $res)

Returns the errortext, if a function fails

gnupg_geterrorinfo($res)

No description

int
gnupg_getprotocol(resource $res)

Returns the currently active protocol for all operations

gnupg_gettrustlist($res, $pattern)

No description

array|false
gnupg_import(resource $res, string $kye)

Imports a key

resource
gnupg_init($options = null)

Initialize a connection

array|false
gnupg_keyinfo(resource $res, string $pattern, $secret_only = false)

Returns an array with information about all keys that matches the given pattern

gnupg_listsignatures($res, $kyeid)

No description

bool
gnupg_setarmor(resource $res, int $armor)

Toggle armored output

gnupg_seterrormode(resource $res, int $errnmode)

Sets the mode for error_reporting

bool
gnupg_setsignmode(resource $res, int $signmode)

Sets the mode for signing

string|false
gnupg_sign(resource $res, string $text)

Signs a given text

array|false
gnupg_verify(resource $res, string $text, string|false $signature, string $plaintext = '')

Verifies a signed text

int|false
go(callable $func, ...$params)

This function is an alias of function swoole_coroutine_create(); it's available only when directive "swoole.use_shortname" is not explicitly turned off.

string|false
grapheme_extract(string $haystack, int $size, int $type = 0, int $offset = 0, int $next = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Function to extract a sequence of default grapheme clusters from a text buffer, which must be encoded in UTF-8.

array|false
grapheme_str_split(string $string, int $length = 1)
Since: 8.4

No description

int|false
grapheme_stripos(string $haystack, string $needle, int $offset = 0)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Find position (in grapheme units) of first occurrence of a case-insensitive string

string|false
grapheme_stristr(string $haystack, string $needle, bool $beforeNeedle = false)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns part of haystack string from the first occurrence of case-insensitive needle to the end of haystack.

int|false|null
grapheme_strlen(string $string)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get string length in grapheme units

int|false
grapheme_strpos(string $haystack, string $needle, int $offset = 0)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Find position (in grapheme units) of first occurrence of a string

int|false
grapheme_strripos(string $haystack, string $needle, int $offset = 0)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Find position (in grapheme units) of last occurrence of a case-insensitive string

int|false
grapheme_strrpos(string $haystack, string $needle, int $offset = 0)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Find position (in grapheme units) of last occurrence of a string

string|false
grapheme_strstr(string $haystack, string $needle, bool $beforeNeedle = false)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns part of haystack string from the first occurrence of needle to the end of haystack.

string|false
grapheme_substr(string $string, int $offset, int|null $length = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Return part of a string

int
gregoriantojd(int $month, int $day, int $year)

Converts a Gregorian date to Julian Day Count

bool
gzclose(resource $stream)

Close an open gz-file pointer

string|false
gzcompress(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_DEFLATE)

Compress a string

string|false
gzdecode(string $data, int $max_length = 0)
Since: 5.4

Decodes a gzip compressed string

string|false
gzdeflate(string $data, int $level = -1, int $encoding = ZLIB_ENCODING_RAW)

Deflate a string

string|false
gzencode(string $data, int $level = -1, int $encoding = FORCE_GZIP)

Create a gzip compressed string

bool
gzeof(resource $stream)

Test for EOF on a gz-file pointer

array|false
gzfile(string $filename, int $use_include_path = 0)

Read entire gz-file into an array

string|false
gzgetc(resource $stream)

Get character from gz-file pointer

string|false
gzgets(resource $stream, int|null $length = null)

Get line from file pointer

string|false
gzgetss(resource $zp, int $length, string $allowable_tags)

Get line from gz-file pointer and strip HTML tags

string|false
gzinflate(string $data, int $max_length = 0)

Inflate a deflated string

resource|false
gzopen(string $filename, string $mode, int $use_include_path = 0)

Open gz-file

int
gzpassthru(resource $stream)

Output all remaining data on a gz-file pointer

int|false
gzputs(resource $stream, string $data, int|null $length)

Alias of gzwrite

string|false
gzread(resource $stream, int $length)

Binary-safe gz-file read

bool
gzrewind(resource $stream)

Rewind the position of a gz-file pointer

int
gzseek(resource $stream, int $offset, int $whence = SEEK_SET)

Seek on a gz-file pointer

int|false
gztell(resource $stream)

Tell gz-file pointer read/write position

string|false
gzuncompress(string $data, int $max_length = 0)

Uncompress a compressed string

int|false
gzwrite(resource $stream, string $data, int|null $length)

Binary-safe gz-file write

string
hash(string $algo, string $data, bool $binary = false, array $options = [])

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Generate a hash value (message digest)

array
hash_algos()

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Return a list of registered hashing algorithms

HashContext|resource
hash_copy(HashContext|resource $context)

Copy hashing context

bool
hash_equals(string $known_string, string $user_string)
Since: 5.6

Timing attack safe string comparison

string|false
hash_file(string $algo, string $filename, bool $binary = false, array $options = [])

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Generate a hash value using the contents of a given file

string
hash_final(HashContext|resource $context, bool $binary = false)

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Finalize an incremental hash and return resulting digest

string|false
hash_hkdf(string $algo, string $key, int $length = 0, string $info = '', string $salt = '')
Since: 7.1.2 Generate a HKDF key derivation of a supplied key input

Generate a hkdf key derivation of a supplied key input

string
hash_hmac(string $algo, string $data, string $key, bool $binary = false)

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Generate a keyed hash value using the HMAC method

array
hash_hmac_algos()
Since: 7.2 Return a list of registered hashing algorithms suitable for hash_hmac

Return a list of registered hashing algorithms suitable for hash_hmac

string|false
hash_hmac_file(string $algo, string $filename, string $key, bool $binary = false)

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Generate a keyed hash value using the HMAC method and the contents of a given file

HashContext|resource
hash_init(string $algo, int $flags = 0, string $key = "", array $options = [])

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Initialize an incremental hashing context

string
hash_pbkdf2(string $algo, string $password, string $salt, int $iterations, int $length = 0, bool $binary = false, array $options = [])
Since: 5.5

Generate a PBKDF2 key derivation of a supplied password

bool
hash_update(HashContext|resource $context, string $data)

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Pump data into an active hashing context

bool
hash_update_file(HashContext|resource $context, string $filename, resource $stream_context)

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Pump data into an active hashing context from a file

int
hash_update_stream(HashContext|resource $context, resource $stream, int $length = -1)

(PHP 5 >= 5.1.2, PECL hash >= 1.1)
Pump data into an active hashing context from an open stream

void
header(string $header, bool $replace = true, int $response_code = 0)

Send a raw HTTP header

bool
header_register_callback(callable $callback)

Registers a function that will be called when PHP starts sending output.

void
header_remove(string|null $name = null)

Remove previously set headers

array
headers_list()

Returns a list of response headers sent (or ready to send)

int
headers_send(int $status = 200)

Sends HTTP response headers immediately.

bool
headers_sent(string $filename = null, int $line = null)

Checks if or where headers have been sent

string
hebrev(string $string, int $max_chars_per_line = 0)

Convert logical Hebrew text to visual text

string
hebrevc(string $hebrew_text, int $max_chars_per_line)

Convert logical Hebrew text to visual text with newline conversion

string|false
hex2bin(string $string)
Since: 5.4

Convert hexadecimal string to its binary representation.

int|float
hexdec(string $hex_string)

Hexadecimal to decimal

string|bool
highlight_file(string $filename, bool $return = false)

Syntax highlighting of a file

string|bool
highlight_string(string $string, bool $return = false)

Syntax highlighting of a string

array|int|float|false
hrtime(bool $as_number = false)
Since: 7.3

Get the system's high resolution time

string
html_entity_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE, string|null $encoding)

Convert HTML entities to their corresponding characters

string
htmlentities(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE, string|null $encoding, bool $double_encode = true)

Convert all applicable characters to HTML entities

string
htmlspecialchars(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE, string|null $encoding = null, bool $double_encode = true)

Convert special characters to HTML entities

string
htmlspecialchars_decode(string $string, int $flags = ENT_QUOTES | ENT_SUBSTITUTE)

Convert special HTML entities back to characters

string
http_build_query(object|array $data, string $numeric_prefix = "", string|null $arg_separator = null, int $encoding_type = PHP_QUERY_RFC1738)

Generate URL-encoded query string

string|false
http_build_str(array $query, string $prefix = null, string $arg_separator = null)

(PECL pecl_http >= 0.23.0)
Build query string

string|false
http_build_url(mixed $url = null, mixed $parts = null, null|int $flags = null, array|null $new_url = null)

(PECL pecl_http >= 0.21.0)
Build an URL

bool
http_cache_etag(string $etag = null)

(PECL pecl_http >= 0.1.0)
Caching by ETag

bool
http_cache_last_modified(int $timestamp_or_expires = null)

(PECL pecl_http >= 0.1.0)
Caching by last modification

string|false
http_chunked_decode(string $encoded)

(PECL pecl_http >= 0.1.0)
Decode chunked-encoded data

void
http_clear_last_response_headers()
Since: 8.4

No description

string
http_date(int $timestamp = null)

(PECL pecl_http >= 0.1.0)
Compose HTTP RFC compliant date

string|null
http_deflate(string $data, int $flags = null)

(PECL pecl_http >= 0.15.0)
Deflate data

string
http_get(string $url, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 0.1.0)
Perform GET request

array|null
http_get_last_response_headers()
Since: 8.4

No description

string|null
http_get_request_body()

(PECL pecl_http >= 0.10.0)
Get request body as string

resource|null
http_get_request_body_stream()

(PECL pecl_http >= 0.22.0)
Get request body as stream

array
http_get_request_headers()

(PECL pecl_http >= 0.10.0)
Get request headers as array

string
http_head(string $url = null, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 0.1.0)
Perform HEAD request

string|null
http_inflate(string $data)

(PECL pecl_http >= 0.15.0)
Inflate data

bool
http_match_etag(string $etag, bool $for_range = null)

(PECL pecl_http >= 0.1.0)
Match ETag

bool
http_match_modified(int $timestamp = null, bool $for_range = null)

(PECL pecl_http >= 0.1.0)
Match last modification

bool
http_match_request_header(string $header, string $value, bool $match_case = null)

(PECL pecl_http >= 0.10.0)
Match any header

string
http_negotiate_charset(array $supported, array|null $result = null)

(PECL pecl_http >= 0.1.0)
Negotiate clients preferred character set

string
http_negotiate_content_type(array $supported, array|null $result = null)

(PECL pecl_http >= 0.19.0)
Negotiate clients preferred content type

string
http_negotiate_language(array $supported, array|null $result = null)

(PECL pecl_http >= 0.1.0)
Negotiate clients preferred language

array|false
http_parse_headers(string $header)

(PECL pecl_http >= 0.10.0)
Parse HTTP headers

object
http_parse_message(string $message)

(PECL pecl_http >= 0.12.0)
Parse HTTP messages

http_parse_params(string $param, int $flags = null)

(PECL pecl_http >= 1.0.0)
Parse parameter list

string
http_persistent_handles_clean(string $ident = null)

(PECL pecl_http >= 1.5.0)
Clean up persistent handles

stdClass|false
http_persistent_handles_count()

(PECL pecl_http >= 1.5.0)
Stat persistent handles

string|false
http_persistent_handles_ident(string $ident)

(PECL pecl_http >= 1.5.0)
Get/set ident of persistent handles

string
http_post_data(string $url, string $data = null, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 0.1.0)
Perform POST request with pre-encoded data

string
http_post_fields(string $url, array|null $data = null, array|null $files = null, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 0.10.0)
Perform POST request with data to be encoded

string
http_put_data(string $url, null|string $data = null, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 0.25.0)
Perform PUT request with data

string
http_put_file(string $url, null|string $file = null, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 0.10.0)
Perform PUT request with file

string
http_put_stream(string $url, null|resource $stream = null, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 0.10.0)
Perform PUT request with stream

void|false
http_redirect(string $url = null, array|null $params = null, null|bool $session = null, null|int $status = null)

(PECL pecl_http >= 0.1.0)
Issue HTTP redirect

string
http_request(int $method, null|string $url = null, null|string $body = null, array|null $options = null, array|null $info = null)

(PECL pecl_http >= 1.0.0)
Perform custom request

string|false
http_request_body_encode(array $fields, array $files)

(PECL pecl_http >= 1.0.0)
Encode request body

bool
http_request_method_exists(mixed $method)

(PECL pecl_http >= 0.10.0)
Check whether request method exists

string|false
http_request_method_name(int $method)

(PECL pecl_http >= 0.10.0)
Get request method name

int|false
http_request_method_register(string $method)

(PECL pecl_http >= 0.10.0)
Register request method

bool
http_request_method_unregister(mixed $method)

(PECL pecl_http >= 0.10.0)
Unregister request method

int|bool
http_response_code(int $response_code = 0)

Get or Set the HTTP response code

bool
http_send_content_disposition(string $filename, bool $inline = null)

(PECL pecl_http >= 0.10.0)
Send Content-Disposition

bool
http_send_content_type(string $content_type = null)

(PECL pecl_http >= 0.10.0)
Send Content-Type

bool
http_send_data(string $data)

(PECL pecl_http >= 0.1.0)
Send arbitrary data

bool
http_send_file(string $file)

(PECL pecl_http >= 0.1.0)
Send file

bool
http_send_last_modified(int $timestamp = null)

(PECL pecl_http >= 0.1.0)
Send Last-Modified

bool
http_send_status(int $status)

(PECL pecl_http >= 0.1.0)
Send HTTP response status

bool
http_send_stream(resource $stream)

(PECL pecl_http >= 0.1.0)
Send stream

int
http_support(int $feature = null)

(PECL pecl_http >= 0.15.0)
Check built-in HTTP support

void
http_throttle(float $sec = null, int $bytes = null)

(PECL pecl_http >= 0.10.0)
HTTP throttling

float
hypot(float $x, float $y)

Calculate the length of the hypotenuse of a right-angle triangle

bool
ibase_add_user(resource $service_handle, string $user_name, string $password, string $first_name = null, string $middle_name = null, string $last_name = null)

Add a user to a security database (only for IB6 or later)

int
ibase_affected_rows(resource $link_identifier = null)

Return the number of rows that were affected by the previous query

mixed
ibase_backup(resource $service_handle, string $source_db, string $dest_file, int $options = null, bool $verbose = null)

Initiates a backup task in the service manager and returns immediately

void
ibase_blob_add(resource $blob_handle, string $data)

Add data into a newly created blob

bool
ibase_blob_cancel(resource $blob_handle)

Cancel creating blob

mixed
ibase_blob_close(resource $blob_handle)

Close blob

resource|false
ibase_blob_create(resource $link_identifier = null)

Create a new blob for adding data

bool
ibase_blob_echo(string $blob_id)

Output blob contents to browser

string|false
ibase_blob_get(resource $blob_handle, int $len)

Get len bytes data from open blob

string|false
ibase_blob_import(resource $link_identifier, resource $file_handle)

Create blob, copy file in it, and close it

array
ibase_blob_info(resource $link_identifier, string $blob_id)

Return blob length and other useful info

resource|false
ibase_blob_open(resource $link_identifier, string $blob_id)

Open blob for retrieving data parts

bool
ibase_close(resource $connection_id = null)

Close a connection to an InterBase database

bool
ibase_commit(resource $link_or_trans_identifier = null)

Commit a transaction

bool
ibase_commit_ret(resource $link_or_trans_identifier = null)

Commit a transaction without closing it

resource|false
ibase_connect(string $database = null, string $username = null, string $password = null, string $charset = null, int $buffers = null, int $dialect = null, string $role = null, int $sync = null)

Open a connection to an InterBase database

string
ibase_db_info(resource $service_handle, string $db, int $action, int $argument = null)

Request statistics about a database

bool
ibase_delete_user(resource $service_handle, string $user_name)

Delete a user from a security database (only for IB6 or later)

bool
ibase_drop_db(resource $connection = null)

Drops a database

int|false
ibase_errcode()

Return an error code

string|false
ibase_errmsg()

Return error messages

resource|bool
ibase_execute(resource $query, mixed ...$bind_arg)

Execute a previously prepared query

array|false
ibase_fetch_assoc(resource $result, int $fetch_flag = null)

Fetch a result row from a query as an associative array

object|false
ibase_fetch_object(resource $result_id, int $fetch_flag = null)

Get an object from a InterBase database

array|false
ibase_fetch_row(resource $result_identifier, int $fetch_flag = null)

Fetch a row from an InterBase database

array
ibase_field_info(resource $result, int $field_number)

Get information about a field

bool
ibase_free_event_handler(resource $event)

Cancels a registered event handler

bool
ibase_free_query(resource $query)

Free memory allocated by a prepared query

bool
ibase_free_result(resource $result_identifier)

Free a result set

mixed
ibase_gen_id(string $generator, int $increment = null, resource $link_identifier = null)

Increments the named generator and returns its new value

bool
ibase_maintain_db(resource $service_handle, string $db, int $action, int $argument = null)

Execute a maintenance command on the database server

bool
ibase_modify_user(resource $service_handle, string $user_name, string $password, string $first_name = null, string $middle_name = null, string $last_name = null)

Modify a user to a security database (only for IB6 or later)

bool
ibase_name_result(resource $result, string $name)

Assigns a name to a result set

int
ibase_num_fields(resource $result_id)

Get the number of fields in a result set

int
ibase_num_params(resource $query)

Return the number of parameters in a prepared query

array
ibase_param_info(resource $query, int $param_number)

Return information about a parameter in a prepared query

resource|false
ibase_pconnect(string $database = null, string $username = null, string $password = null, string $charset = null, int $buffers = null, int $dialect = null, string $role = null, int $sync = null)

Open a persistent connection to an InterBase database

resource|false
ibase_prepare(string $query)

Prepare a query for later binding of parameter placeholders and execution

resource|bool
ibase_query(resource $link_identifier = null, string $query, int $bind_args = null)

Execute a query on an InterBase database

mixed
ibase_restore(resource $service_handle, string $source_file, string $dest_db, int $options = null, bool $verbose = null)

Initiates a restore task in the service manager and returns immediately

bool
ibase_rollback(resource $link_or_trans_identifier = null)

Roll back a transaction

bool
ibase_rollback_ret(resource $link_or_trans_identifier = null)

Roll back a transaction without closing it

string
ibase_server_info(resource $service_handle, int $action)

Request information about a database server

resource|false
ibase_service_attach(string $host, string $dba_username, string $dba_password)

Connect to the service manager

bool
ibase_service_detach(resource $service_handle)

Disconnect from the service manager

resource
ibase_set_event_handler(callable $event_handler, string $event_name1, string $event_name2 = null, string ...$_)

Register a callback function to be called when events are posted

resource|false
ibase_trans(int $trans_args = null, resource $link_identifier = null)

Begin a transaction

string
ibase_wait_event(string $event_name1, string $event_name2 = null, string ...$_)

Wait for an event to be posted by the database

string|false
iconv(string $from_encoding, string $to_encoding, string $string)

Convert string to requested character encoding

array|string|false
iconv_get_encoding(string $type = "all")

Retrieve internal configuration variables of iconv extension

string|false
iconv_mime_decode(string $string, int $mode = 0, string|null $encoding = null)

Decodes a MIME header field

array|false
iconv_mime_decode_headers(string $headers, int $mode = 0, string|null $encoding = null)

Decodes multiple MIME header fields at once

string|false
iconv_mime_encode(string $field_name, string $field_value, array $options = [])

Composes a MIME header field

bool
iconv_set_encoding(string $type, string $encoding)

Set current setting for character encoding conversion

int|false
iconv_strlen(string $string, string|null $encoding = null)

Returns the character count of string

int|false
iconv_strpos(string $haystack, string $needle, int $offset = 0, string|null $encoding = null)

Finds position of first occurrence of a needle within a haystack

int|false
iconv_strrpos(string $haystack, string $needle, string|null $encoding = null)

Finds the last occurrence of a needle within a haystack

string|false
iconv_substr(string $string, int $offset, int|null $length, string|null $encoding = null)

Cut out part of a string

int|false
idate(string $format, int|null $timestamp)

Format a local time/date as integer

string|false
idn_to_ascii(string $domain, int $flags = 0, int $variant = INTL_IDNA_VARIANT_UTS46, array $idna_info)

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.2, PHP 7, PECL idn >= 0.1)
Convert domain name to IDNA ASCII form.

string|false
idn_to_utf8(string $domain, int $flags = 0, int $variant = INTL_IDNA_VARIANT_UTS46, array $idna_info)

(PHP 5 >= 5.3.0, PHP 7, PECL intl >= 1.0.2, PHP 7, PECL idn >= 0.1)
Convert domain name from IDNA ASCII to Unicode.

string|null
igbinary_serialize(mixed $value)

Generates a storable representation of a value.

mixed|false
igbinary_unserialize(string $str)

Creates a PHP value from a stored representation.

int
ignore_user_abort(bool|null $enable)

Set whether a client disconnect should abort script execution

bool
image2wbmp(resource|GdImage $image, string $filename = null, int $threshold = null)

Output image to browser or file

string|false
image_type_to_extension(int $image_type, bool $include_dot = true)

Get file extension for image type

string
image_type_to_mime_type(int $image_type)

Get Mime-Type for image-type returned by getimagesize, exif_read_data, exif_thumbnail, exif_imagetype

GdImage|false
imageaffine(GdImage $image, array $affine, array|null $clip = null)

Return an image containing the affine tramsformed src image, using an optional clipping area

array|false
imageaffinematrixconcat(array $matrix1, array $matrix2)
Since: 5.5

Concat two matrices (as in doing many ops in one go)

array|false
imageaffinematrixget(int $type, mixed $options)
Since: 5.5

Return an image containing the affine tramsformed src image, using an optional clipping area

bool
imagealphablending(GdImage $image, bool $enable)

Set the blending mode for an image

bool
imageantialias(GdImage $image, bool $enable)

Should antialias functions be used or not.
Before 7.2.0 it's only available if PHP iscompiled with the bundled version of the GD library.

bool
imagearc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $start_angle, int $end_angle, int $color)

Draws an arc

bool
imageavif(GdImage $image, string|null $file = null, int $quality = -1, int $speed = -1)
Since: 8.1

Outputs or saves a AVIF Raster image from the given image

bool
imagebmp(GdImage $image, mixed $file = null, bool $compressed = true)
Since: 7.2

Outputs or saves a BMP version of the given image.

bool
imagechar(GdImage $image, int $font, int $x, int $y, string $char, int $color)

Draw a character horizontally

bool
imagecharup(GdImage $image, int $font, int $x, int $y, string $char, int $color)

Draw a character vertically

int|false
imagecolorallocate(GdImage $image, int $red, int $green, int $blue)

Allocate a color for an image

int|false
imagecolorallocatealpha(GdImage $image, int $red, int $green, int $blue, int $alpha)

Allocate a color for an image

int|false
imagecolorat(GdImage $image, int $x, int $y)

Get the index of the color of a pixel

int
imagecolorclosest(GdImage $image, int $red, int $green, int $blue)

Get the index of the closest color to the specified color

int
imagecolorclosestalpha(GdImage $image, int $red, int $green, int $blue, int $alpha)

Get the index of the closest color to the specified color + alpha

int
imagecolorclosesthwb(GdImage $image, int $red, int $green, int $blue)

Get the index of the color which has the hue, white and blackness

bool
imagecolordeallocate(GdImage $image, int $color)

De-allocate a color for an image

int
imagecolorexact(GdImage $image, int $red, int $green, int $blue)

Get the index of the specified color

int|false
imagecolorexactalpha(GdImage $image, int $red, int $green, int $blue, int $alpha)

Get the index of the specified color + alpha

bool
imagecolormatch(GdImage $image1, GdImage $image2)

Makes the colors of the palette version of an image more closely match the true color version

int
imagecolorresolve(GdImage $image, int $red, int $green, int $blue)

Get the index of the specified color or its closest possible alternative

int
imagecolorresolvealpha(GdImage $image, int $red, int $green, int $blue, int $alpha)

Get the index of the specified color + alpha or its closest possible alternative

bool|null
imagecolorset(GdImage $image, int $color, int $red, int $green, int $blue, int $alpha = 0)

Set the color for the specified palette index

array|false
imagecolorsforindex(GdImage $image, int $color)

Get the colors for an index

int
imagecolorstotal(GdImage $image)

Find out the number of colors in an image's palette

int
imagecolortransparent(GdImage $image, int|null $color = null)

Define a color as transparent

bool
imageconvolution(GdImage $image, array $matrix, float $divisor, float $offset)

Apply a 3x3 convolution matrix, using coefficient and offset

bool
imagecopy(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_width, int $src_height)

Copy part of an image

bool
imagecopymerge(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_width, int $src_height, int $pct)

Copy and merge part of an image

bool
imagecopymergegray(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $src_width, int $src_height, int $pct)

Copy and merge part of an image with gray scale

bool
imagecopyresampled(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_width, int $dst_height, int $src_width, int $src_height)

Copy and resize part of an image with resampling

bool
imagecopyresized(GdImage $dst_image, GdImage $src_image, int $dst_x, int $dst_y, int $src_x, int $src_y, int $dst_width, int $dst_height, int $src_width, int $src_height)

Copy and resize part of an image

GdImage|false
imagecreate(int $width, int $height)

Create a new palette based image

GdImage|false
imagecreatefromavif(string $filename)
Since: 8.1

Create a new image from file or URL

GdImage|false
imagecreatefrombmp(string $filename)
Since: 7.2

imagecreatefrombmp() returns an image identifier representing the image obtained from the given filename.

GdImage|false
imagecreatefromgd(string $filename)

Create a new image from GD file or URL

GdImage|false
imagecreatefromgd2(string $filename)

Create a new image from GD2 file or URL

GdImage|false
imagecreatefromgd2part(string $filename, int $x, int $y, int $width, int $height)

Create a new image from a given part of GD2 file or URL

GdImage|false
imagecreatefromgif(string $filename)

Create a new image from file or URL

GdImage|false
imagecreatefromjpeg(string $filename)

Create a new image from file or URL

GdImage|false
imagecreatefrompng(string $filename)

Create a new image from file or URL

GdImage|false
imagecreatefromstring(string $data)

Create a new image from the image stream in the string

GdImage|false
imagecreatefromtga(string $filename)

No description

GdImage|false
imagecreatefromwbmp(string $filename)

Create a new image from file or URL

GdImage|false
imagecreatefromwebp(string $filename)
Since: 5.4

Create a new image from file or URL

GdImage|false
imagecreatefromxbm(string $filename)

Create a new image from file or URL

GdImage|false
imagecreatefromxpm(string $filename)

Create a new image from file or URL

GdImage|false
imagecreatetruecolor(int $width, int $height)

Create a new true color image

GdImage|false
imagecrop(GdImage $image, array $rectangle)
Since: 5.5

Crop an image using the given coordinates and size, x, y, width and height

GdImage|false
imagecropauto(GdImage $image, int $mode = IMG_CROP_DEFAULT, float $threshold = 0.5, int $color = -1)
Since: 5.5

Crop an image automatically using one of the available modes

bool
imagedashedline(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)

Draw a dashed line

bool
imagedestroy(GdImage $image)

Destroy an image

bool
imageellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $color)

Draw an ellipse

bool
imagefill(GdImage $image, int $x, int $y, int $color)

Flood fill

bool
imagefilledarc(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $start_angle, int $end_angle, int $color, int $style)

Draw a partial arc and fill it

bool
imagefilledellipse(GdImage $image, int $center_x, int $center_y, int $width, int $height, int $color)

Draw a filled ellipse

bool
imagefilledpolygon(GdImage $image, array $points, int|null $color)

Draw a filled polygon

bool
imagefilledrectangle(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)

Draw a filled rectangle

bool
imagefilltoborder(GdImage $image, int $x, int $y, int $border_color, int $color)

Flood fill to specific color

bool
imagefilter(GdImage $image, int $filter, $arg1 = null, $arg2 = null, $arg3 = null, $arg4 = null, int ...$args)

Applies a filter to an image

bool
imageflip(GdImage $image, int $mode)
Since: 5.5

Flips an image using a given mode

int
imagefontheight(int $font)

Get font height

int
imagefontwidth(int $font)

Get font width

array|false
imageftbbox(float $size, float $angle, string $font_filename, string $string, array $options = [])

Give the bounding box of a text using fonts via freetype2

array|false
imagefttext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $text, array $options = [])

Write text to the image using fonts using FreeType 2

bool
imagegammacorrect(GdImage $image, float $input_gamma, float $output_gamma)

Apply a gamma correction to a GD image

bool
imagegd(GdImage $image, string|null $file = null)

Output GD image to browser or file.
Since 7.2.0 allows to output truecolor images.

bool
imagegd2(GdImage $image, string|null $file = null, int $chunk_size = 128, int $mode = IMG_GD2_RAW)

Output GD2 image to browser or file

array
imagegetclip(GdImage $image)
Since: 7.2

imagegetclip() retrieves the current clipping rectangle, i.e. the area beyond which no pixels will be drawn.

int
imagegetinterpolation(GdImage $image)

Gets the currently set interpolation method of the image.

bool
imagegif(GdImage $image, string $file = null)

Output image to browser or file

resource|GdImage|false
imagegrabscreen()

Captures the whole screen

resource|GdImage|false
imagegrabwindow(int $handle, int|null $client_area = null)

Captures a window

bool
imageinterlace(GdImage $image, bool|null $enable = null)

Enable or disable interlace

bool
imageistruecolor(GdImage $image)

Finds whether an image is a truecolor image

bool
imagejpeg(GdImage $image, string $file = null, int $quality = -1)

Output image to browser or file

bool
imagelayereffect(GdImage $image, int $effect)

Set the alpha blending flag to use the bundled libgd layering effects

bool
imageline(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)

Draw a line

int|false
imageloadfont(string $filename)

Load a new font

bool
imageopenpolygon(GdImage $image, array $points, int $num_points_or_color, int|null $color = null)
Since: 7.2

imageopenpolygon() draws an open polygon on the given image. Contrary to {imagepolygon()}, no line is drawn between the last and the first point.

void
imagepalettecopy(GdImage $dst, GdImage $src)

Copy the palette from one image to another

bool
imagepalettetotruecolor(GdImage $image)
Since: 5.5

Converts a palette based image to true color

bool
imagepng(GdImage $image, string $file = null, int $quality = -1, int $filters = -1)

Output a PNG image to either the browser or a file

bool
imagepolygon(GdImage $image, array $points, int $num_points_or_color, int|null $color = null)

Draws a polygon

array|false
imagepsbbox(string $text, resource|GdImage $font, int $size)

Give the bounding box of a text rectangle using PostScript Type1 fonts

bool
imagepsencodefont(resource|GdImage $font_index, string $encodingfile)

Change the character encoding vector of a font

bool
imagepsextendfont(resource|GdImage $font_index, float $extend)

Extend or condense a font

bool
imagepsfreefont(resource|GdImage $font_index)

Free memory used by a PostScript Type 1 font

resource|GdImage|false
imagepsloadfont(string $filename)

Load a PostScript Type 1 font from file

bool
imagepsslantfont(resource|GdImage $font_index, float $slant)

Slant a font

array|false
imagepstext(resource|GdImage $image, string $text, resource|GdImage $font_index, int $size, int $foreground, int $background, int $x, int $y, int $space = null, int $tightness = null, float $angle = null, int $antialias_steps = null)

Draws a text over an image using PostScript Type1 fonts

bool
imagerectangle(GdImage $image, int $x1, int $y1, int $x2, int $y2, int $color)

Draw a rectangle

array|bool
imageresolution(GdImage $image, int|null $resolution_x = null, int|null $resolution_y = null)
Since: 7.2

No description

GdImage|false
imagerotate(GdImage $image, float $angle, int $background_color, bool $ignore_transparent = false)

Rotate an image with a given angle

bool
imagesavealpha(GdImage $image, bool $enable)

Set the flag to save full alpha channel information (as opposed to single-color transparency) when saving PNG images

GdImage|false
imagescale(GdImage $image, int $width, int $height = -1, int $mode = IMG_BILINEAR_FIXED)
Since: 5.5 Scale an image using the given new width and height

No description

bool
imagesetbrush(GdImage $image, GdImage $brush)

Set the brush image for line drawing

bool
imagesetclip(GdImage $image, int $x1, int $y1, int $x2, int $y2)
Since: 7.2

imagesetclip() sets the current clipping rectangle, i.e. the area beyond which no pixels will be drawn.

bool
imagesetinterpolation(GdImage $image, int $method = IMG_BILINEAR_FIXED)
Since: 5.5

Set the interpolation method

bool
imagesetpixel(GdImage $image, int $x, int $y, int $color)

Set a single pixel

bool
imagesetstyle(GdImage $image, array $style)

Set the style for line drawing

bool
imagesetthickness(GdImage $image, int $thickness)

Set the thickness for line drawing

bool
imagesettile(GdImage $image, GdImage $tile)

Set the tile image for filling

bool
imagestring(GdImage $image, int $font, int $x, int $y, string $string, int $color)

Draw a string horizontally

bool
imagestringup(GdImage $image, int $font, int $x, int $y, string $string, int $color)

Draw a string vertically

int
imagesx(GdImage $image)

Get image width

int
imagesy(GdImage $image)

Get image height

bool
imagetruecolortopalette(GdImage $image, bool $dither, int $num_colors)

Convert a true color image to a palette image

array|false
imagettfbbox(float $size, float $angle, string $font_filename, string $string, array $options = [])

Give the bounding box of a text using TrueType fonts

array|false
imagettftext(GdImage $image, float $size, float $angle, int $x, int $y, int $color, string $font_filename, string $text, array $options = [])

Write text to the image using TrueType fonts

int
imagetypes()

Return the image types supported by this PHP build

bool
imagewbmp(GdImage $image, string $file = null, int|null $foreground_color = null)

Output image to browser or file

bool
imagewebp(GdImage $image, resource|string|null $file = null, int $quality = -1)
Since: 5.4

Output a WebP image to browser or file

bool
imagexbm(GdImage $image, string|null $filename, int|null $foreground_color = null)

Output XBM image to browser or file

string|false
imap_8bit(string $string)

Convert an 8bit string to a quoted-printable string

array|false
imap_alerts()

Returns all IMAP alert messages that have occurred

bool
imap_append(resource $imap, string $folder, string $message, string|null $options = null, string|null $internal_date = null)

Append a string message to a specified mailbox

string|false
imap_base64(string $string)

Decode BASE64 encoded text

string|false
imap_binary(string $string)

Convert an 8bit string to a base64 string

string|false
imap_body(resource $imap, int $message_num, int $flags = 0)

Read the message body

object
imap_bodystruct(resource $imap, int $message_num, string $section)

Read the structure of a specified body section of a specific message

stdClass|false
imap_check(resource $imap)

Check current mailbox

imap_clearflag_full(resource $imap, string $sequence, string $flag, int $options = 0)

Clears flags on messages

imap_close(resource $imap, int $flags = 0)

Close an IMAP stream

bool
imap_create($imap, string $mailbox)

Alias of imap_createmailbox

bool
imap_createmailbox(resource $imap, string $mailbox)

Create a new mailbox

imap_delete(resource $imap, string $message_nums, int $flags = 0)

Mark a message for deletion from current mailbox

bool
imap_deletemailbox(resource $imap, string $mailbox)

Delete a mailbox

array|false
imap_errors()

Returns all of the IMAP errors that have occurred

imap_expunge(resource $imap)

Delete all messages marked for deletion

array|false
imap_fetch_overview(resource $imap, string $sequence, int $flags = 0)

Read an overview of the information in the headers of the given message

string|false
imap_fetchbody(resource $imap, int $message_num, string $section, int $flags = 0)

Fetch a particular section of the body of the message

string|false
imap_fetchheader(resource $imap, int $message_num, int $flags = 0)

Returns header for a message

string|false
imap_fetchmime(resource $imap, int $message_num, string $section, int $flags = 0)
Since: 5.3.6

Fetch MIME headers for a particular section of the message

stdClass|false
imap_fetchstructure(resource $imap, int $message_num, int $flags = 0)

Read the structure of a particular message

string|false
imap_fetchtext(resource $imap, int $message_num, int $flags = 0)

(PHP 4, PHP 5)
Alias of imap_body()

imap_gc(resource $imap, int $flags)

Clears IMAP cache

array|false
imap_get_quota(resource $imap, string $quota_root)

Retrieve the quota level settings, and usage statics per mailbox

array|false
imap_get_quotaroot(resource $imap, string $mailbox)

Retrieve the quota settings per user

array|false
imap_getacl(resource $imap, string $mailbox)

Gets the ACL for a given mailbox

imap_getannotation($stream_id, $mailbox, $entry, $attr)

No description

array|false
imap_getmailboxes(resource $imap, string $reference, string $pattern)

Read the list of mailboxes, returning detailed information on each one

array|false
imap_getsubscribed(resource $imap, string $reference, string $pattern)

List all the subscribed mailboxes

object
imap_header(resource $stream_id, int $msg_no, int $from_length = 0, int $subject_length = 0, $default_host = null)

Alias of imap_headerinfo

stdClass|false
imap_headerinfo(resource|Connection $imap, int $message_num, int $from_length = 0, int $subject_length = 0, $default_host = null)

Read the header of the message

array|false
imap_headers(resource $imap)

Returns headers for all messages in a mailbox

bool
imap_is_open(Connection $imap)
Since: 8.2

No description

string|false
imap_last_error()

Gets the last IMAP error that occurred during this page request

array|false
imap_list(resource $imap, string $reference, string $pattern)

Read the list of mailboxes

array|false
imap_listmailbox(resource $imap, string $reference, string $pattern)

Alias of imap_list

array|false
imap_listscan(resource $imap, string $reference, string $pattern, string $content)

Returns the list of mailboxes that matches the given text

array|false
imap_listsubscribed(resource $imap, string $reference, string $pattern)

Alias of imap_lsub

array|false
imap_lsub(resource $imap, string $reference, string $pattern)

List all the subscribed mailboxes

bool
imap_mail(string $to, string $subject, string $message, string|null $additional_headers = null, string|null $cc = null, string|null $bcc = null, string|null $return_path = null)

Send an email message

string|false
imap_mail_compose(array $envelope, array $bodies)

Create a MIME message based on given envelope and body sections

bool
imap_mail_copy(resource $imap, string $message_nums, string $mailbox, int $flags = 0)

Copy specified messages to a mailbox

bool
imap_mail_move(resource $imap, string $message_nums, string $mailbox, int $flags = 0)

Move specified messages to a mailbox

imap_mailboxmsginfo(resource $imap)

Get information about the current mailbox

array|false
imap_mime_header_decode(string $string)

Decode MIME header elements

int
imap_msgno(resource $imap, int $message_uid)

Gets the message sequence number for the given UID

string|false
imap_mutf7_to_utf8(string $string)

Decode a modified UTF-7 string to UTF-8

imap_myrights($stream_id, $mailbox)

No description

int|false
imap_num_msg(resource $imap)

Gets the number of messages in the current mailbox

int
imap_num_recent(resource $imap)

Gets the number of recent messages in current mailbox

resource|false
imap_open(string $mailbox, string $user, string $password, int $flags = 0, int $retries = 0, array $options = [])

Open an IMAP stream to a mailbox

bool
imap_ping(resource $imap)

Check if the IMAP stream is still active

string|false
imap_qprint(string $string)

Convert a quoted-printable string to an 8 bit string

bool
imap_rename($imap, string $from, string $to)

Alias of imap_renamemailbox

bool
imap_renamemailbox(resource $imap, string $from, string $to)

Rename an old mailbox to new mailbox

bool
imap_reopen(resource $imap, string $mailbox, int $flags = 0, int $retries = 0)

Reopen IMAP stream to new mailbox

array
imap_rfc822_parse_adrlist(string $string, string $default_hostname)

Parses an address string

imap_rfc822_parse_headers(string $headers, string $default_hostname = "UNKNOWN")

Parse mail headers from a string

string|false
imap_rfc822_write_address(string $mailbox, string $hostname, string $personal)

Returns a properly formatted email address given the mailbox, host, and personal info

bool
imap_savebody(resource $imap, mixed $file, int $message_num, string $section = "", int $flags = 0)
Since: 5.1.3

Save a specific body section to a file

array|false
imap_scan($imap, string $reference, string $pattern, string $content)

Alias of imap_listscan

array|false
imap_scanmailbox($imap, string $reference, string $pattern, string $content)

Alias of imap_listscan

bool
imap_set_quota(resource $imap, string $quota_root, int $mailbox_size)

Sets a quota for a given mailbox

bool
imap_setacl(resource $imap, string $mailbox, string $user_id, string $rights)

Sets the ACL for a given mailbox

imap_setannotation($stream_id, $mailbox, $entry, $attr, $value)

No description

imap_setflag_full(resource $imap, string $sequence, string $flag, int $options = NIL)

Sets flags on messages

array|false
imap_sort(resource $imap, int $criteria, bool $reverse, int $flags = 0, string|null $search_criteria = null, string|null $charset = null)

Gets and sort messages

object
imap_status(resource $imap, string $mailbox, int $flags)

Returns status information on a mailbox

imap_status_current($stream_id, $options)

No description

bool
imap_subscribe(resource $imap, string $mailbox)

Subscribe to a mailbox

array|false
imap_thread(resource $imap, int $flags = SE_FREE)

Returns a tree of threaded message

int|bool
imap_timeout(int $timeout_type, int $timeout = -1)

Set or fetch imap timeout

int|false
imap_uid(resource $imap, int $message_num)

This function returns the UID for the given message sequence number

imap_undelete(resource $imap, string $message_nums, int $flags = 0)

Unmark the message which is marked deleted

bool
imap_unsubscribe(resource $imap, string $mailbox)

Unsubscribe from a mailbox

string|false
imap_utf7_decode(string $string)

Decodes a modified UTF-7 encoded string

string
imap_utf7_encode(string $string)

Converts ISO-8859-1 string to modified UTF-7 text

string
imap_utf8(string $mime_encoded_text)

Converts MIME-encoded text to UTF-8

string|false
imap_utf8_to_mutf7(string $string)

Encode a UTF-8 string to modified UTF-7

string
implode(array|string $separator = "", array|null $array)

Join array elements with a string

bool
import_request_variables(string $types, string $prefix = null)

Import GET/POST/Cookie variables into the global scope

bool
in_array(mixed $needle, array $haystack, bool $strict = false)

Checks if a value exists in an array

string|false
inet_ntop(string $ip)

Converts a packed internet address to a human readable representation

string|false
inet_pton(string $ip)

Converts a human readable IP address to its packed in_addr representation

string|false
inflate_add(InflateContext|resource $context, string $data, int $flush_mode = ZLIB_SYNC_FLUSH)
Since: 7.0

Incrementally inflate encoded data

int
inflate_get_read_len(InflateContext|resource $context)
Since: 7.2

Get number of bytes read so far

int
inflate_get_status(InflateContext|resource $context)
Since: 7.2

Get decompression status

resource|false|InflateContext
inflate_init(int $encoding, array $options = [])
Since: 7.0

Initialize an incremental inflate context

string|false
ini_alter(string $option, string $value)

Alias: {ini_set}

string|false
ini_get(string $option)

Gets the value of a configuration option

array|false
ini_get_all(string|null $extension, bool $details = true)

Gets all configuration options

int
ini_parse_quantity(string $shorthand)
Since: 8.2

No description

void
ini_restore(string $option)

Restores the value of a configuration option

string|false
ini_set(string $option, string $value)

Sets the value of a configuration option

int
inotify_add_watch(resource $inotify_instance, string $pathname, int $mask)

(PHP >= 5.2.0, PECL inotify >= 0.1.2)
Add a watch to an initialized inotify instance

resource|false
inotify_init()

(PHP >= 5.2.0, PECL inotify >= 0.1.2)
Initialize an inotify instance for use with {inotify_add_watch}

int
inotify_queue_len(resource $inotify_instance)

(PHP >= 5.2.0, PECL inotify >= 0.1.2)
This function allows to know if {inotify_read} will block or not.

array|false
inotify_read(resource $inotify_instance)

(PHP >= 5.2.0, PECL inotify >= 0.1.2)
Read inotify events from an inotify instance.

bool
inotify_rm_watch(resource $inotify_instance, int $mask)

(PHP >= 5.2.0, PECL inotify >= 0.1.2)
Removes the watch $watch_descriptor from the inotify instance $inotify_instance.

int|false
intcal_get_maximum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the global maximum value for a field

int
intdiv(int $num1, int $num2)
Since: 7.0

Integer division

string
intl_error_name(int $errorCode)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get symbolic name for a given error code

int
intl_get(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the value for a field

int
intl_get_error_code()

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get the last error code

string
intl_get_error_message()

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Get description of the last error

bool
intl_is_failure(int $errorCode)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Check whether the given error code indicates failure

bool
intlcal_add(IntlCalendar $calendar, int $field, int $value)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Add a (signed) amount of time to a field

bool
intlcal_after(IntlCalendar $calendar, IntlCalendar $other)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Whether this object's time is after that of the passed object https://secure.php.net/manual/en/intlcalendar.after.php

bool
intlcal_before(IntlCalendar $calendar, IntlCalendar $other)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Whether this object's time is before that of the passed object

bool
intlcal_clear(IntlCalendar $calendar, int|null $field = null)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Clear a field or all fields

intlcal_create_instance(IntlTimeZone|DateTimeZone|string|null $timezone = null, string|null $locale = null)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Create a new IntlCalendar

bool
intlcal_equals(IntlCalendar $calendar, IntlCalendar $other)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Compare time of two IntlCalendar objects for equality

int
intlcal_field_difference(IntlCalendar $calendar, float $timestamp, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Calculate difference between given time and this object's time

intlcal_from_date_time(DateTime|string $datetime, string|null $locale = null)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a2)
Create an IntlCalendar from a DateTime object or string

int
intlcal_get(IntlCalendar $calendar, int $field)

(PHP >= 5.5.0, PECL intl >= 3.0.0a1)
Gets the value for a specific field.

int
intlcal_get_actual_maximum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
The maximum value for a field, considering the object's current time

int
intlcal_get_actual_minimum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
The minimum value for a field, considering the object's current time

array
intlcal_get_available_locales()
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get array of locales for which there is data

int
intlcal_get_day_of_week_type(IntlCalendar $calendar, int $dayOfWeek)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)

int|false
intlcal_get_error_code(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get last error code on the object

string|false
intlcal_get_error_message(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get last error message on the object

int
intlcal_get_first_day_of_week(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the first day of the week for the calendar's locale

int
intlcal_get_greatest_minimum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the largest local minimum value for a field

IntlIterator|false
intlcal_get_keyword_values_for_locale(string $keyword, string $locale, bool $onlyCommon)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get set of locale keyword values

int
intlcal_get_least_maximum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the smallest local maximum for a field

string
intlcal_get_locale(IntlCalendar $calendar, int $type)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the locale associated with the object

int|false
intlcal_get_maximum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the global maximum value for a field

int
intlcal_get_minimal_days_in_first_week(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)

int
intlcal_get_minimum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the global minimum value for a field

float
intlcal_get_now()
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get number representing the current time

int
intlcal_get_repeated_wall_time_option(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get behavior for handling repeating wall time

int
intlcal_get_skipped_wall_time_option(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get behavior for handling skipped wall time

float
intlcal_get_time(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get time currently represented by the object

IntlTimeZone|false
intlcal_get_time_zone(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the object's timezone

string
intlcal_get_type(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the calendar type

int
intlcal_get_weekend_transition(IntlCalendar $calendar, int $dayOfWeek)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get time of the day at which weekend begins or ends

int
intlcal_greates_minimum(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the largest local minimum value for a field

bool
intlcal_in_daylight_time(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Whether the object's time is in Daylight Savings Time

bool
intlcal_is_equivalent_to(IntlCalendar $calendar, IntlCalendar $other)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Whether another calendar is equal but for a different time

bool
intlcal_is_lenient(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Whether date/time interpretation is in lenient mode

bool
intlcal_is_set(IntlCalendar $calendar, int $field)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Whether a field is set

bool
intlcal_is_weekend(IntlCalendar $calendar, float|null $timestamp = null)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Whether a certain date/time is in the weekend

bool
intlcal_roll(IntlCalendar $calendar, int $field, int|bool $value)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Add value to field without carrying into more significant fields

bool
intlcal_set(IntlCalendar $calendar, int $year, int $month, int $dayOfMonth, int $hour, int $minute, int $second)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Set a time field or several common fields at once

bool
intlcal_set_first_day_of_week(IntlCalendar $calendar, int $dayOfWeek)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Set the day on which the week is deemed to start

bool
intlcal_set_lenient(IntlCalendar $calendar, bool $lenient)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Set whether date/time interpretation is to be lenient

bool
intlcal_set_minimal_days_in_first_week(IntlCalendar $calendar, int $days)
Since: 5.5.1

Set minimal number of days the first week in a year or month can have

bool
intlcal_set_repeated_wall_time_option(IntlCalendar $calendar, int $option)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Set behavior for handling repeating wall times at negative timezone offset transitions

bool
intlcal_set_skipped_wall_time_option(IntlCalendar $calendar, int $option)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Set behavior for handling skipped wall times at positive timezone offset transitions

bool
intlcal_set_time(IntlCalendar $calendar, float $timestamp)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Set the calendar time in milliseconds since the epoch

bool
intlcal_set_time_zone(IntlCalendar $calendar, IntlTimeZone|DateTimeZone|string|null $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Set the timezone used by this calendar

DateTime|false
intlcal_to_date_time(IntlCalendar $calendar)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a2)
Convert an IntlCalendar into a DateTime object

intlgregcal_create_instance(DateTimeZone|IntlTimeZone|string|int|null $timezoneOrYear, string|null $localeOrMonth, int $day, int $hour, int $minute, int $second)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)

float
intlgregcal_get_gregorian_change(IntlGregorianCalendar $calendar)

No description

bool
intlgregcal_is_leap_year(IntlGregorianCalendar $calendar, int $year)

No description

bool
intlgregcal_set_gregorian_change(IntlGregorianCalendar $calendar, float $timestamp)

No description

int|false
intltz_count_equivalent_ids(string $timezoneId)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the number of IDs in the equivalency group that includes the given ID

intltz_create_default()
Since: 5.5

No description

IntlIterator|false
intltz_create_enumeration(IntlTimeZone|string|int|float|null $countryOrRawOffset)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)

intltz_create_time_zone(string $timezoneId)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)

IntlIterator|false
intltz_create_time_zone_id_enumeration(int $type, string|null $region = null, int|null $rawOffset = null)
Since: 5.5

No description

intltz_from_date_time_zone(DateTimeZone $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)

intltz_getGMT()
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Create GMT (UTC) timezone

string|false
intltz_get_canonical_id(string $timezoneId, bool $isSystemId)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the canonical system timezone ID or the normalized custom time zone ID for the given time zone ID

string|false
intltz_get_display_name(IntlTimeZone $timezone, bool $dst = false, int $style = 2, string|null $locale)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get a name of this time zone suitable for presentation to the user

int
intltz_get_dst_savings(IntlTimeZone $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the amount of time to be added to local standard time to get local wall clock time

string|false
intltz_get_equivalent_id(string $timezoneId, int $offset)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get an ID in the equivalency group that includes the given ID

int|false
intltz_get_error_code(IntlTimeZone $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get last error code on the object

string|false
intltz_get_error_message(IntlTimeZone $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get last error message on the object

intltz_get_gmt()
Since: 5.5

No description

string|false
intltz_get_iana_id(string $timezoneId)
Since: 8.4

No description

string|false
intltz_get_id(IntlTimeZone $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get timezone ID

string|false
intltz_get_id_for_windows_id(string $timezoneId, string|null $region = null)

No description

bool
intltz_get_offset(IntlTimeZone $timezone, float $timestamp, bool $local, int $rawOffset, int $dstOffset)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the time zone raw and GMT offset for the given moment in time

int
intltz_get_raw_offset(IntlTimeZone $timezone)

Get the raw GMT offset (before taking daylight savings time into account

string|false
intltz_get_region(string $timezoneId)
Since: 5.5

No description

string|false
intltz_get_tz_data_version()
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Get the timezone data version currently used by ICU

intltz_get_unknown()
Since: 5.5

No description

string|false
intltz_get_windows_id(string $timezoneId)

No description

bool
intltz_has_same_rules(IntlTimeZone $timezone, IntlTimeZone $other)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Check if this zone has the same rules and offset as another zone

DateTimeZone|false
intltz_to_date_time_zone(IntlTimeZone $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Convert to DateTimeZone object

bool
intltz_use_daylight_time(IntlTimeZone $timezone)
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Check if this time zone uses daylight savings time

intlz_create_default()
Since: 5.5

(PHP 5 >=5.5.0 PECL intl >= 3.0.0a1)
Create a new copy of the default timezone for this host

int
intval(mixed $value, int $base = 10)

Get the integer value of a variable

int|false
ip2long(string $ip)

Converts a string containing an (IPv4) Internet Protocol dotted address into a long integer

string|bool
iptcembed(string $iptc_data, string $filename, int $spool = 0)

Embeds binary IPTC data into a JPEG image.

array|false
iptcparse(string $iptc_block)

Parse a binary IPTC block into single tags.

bool
is_array(mixed $value)

Finds whether a variable is an array

bool
is_bool(mixed $value)

Finds out whether a variable is a boolean

bool
is_callable(mixed $value, bool $syntax_only = false, string $callable_name)

Verify that the contents of a variable can be called as a function

bool
is_countable(mixed $value)
Since: 7.3

Verify that the contents of a variable is a countable value

bool
is_dir(string $filename)

Tells whether the filename is a directory

bool
is_double(mixed $value)

Alias: {is_float}

bool
is_executable(string $filename)

Tells whether the filename is executable

bool
is_file(string $filename)

Tells whether the filename is a regular file

bool
is_finite(float $num)

Finds whether a value is a legal finite number

bool
is_float(mixed $value)

Finds whether the type of a variable is float

bool
is_infinite(float $num)

Finds whether a value is infinite

bool
is_int(mixed $value)

Find whether the type of a variable is integer

bool
is_integer(mixed $value)

Alias: {is_int}

bool
is_iterable(mixed $value)
Since: 7.1

Verify that the contents of a variable is accepted by the iterable pseudo-type, i.e. that it is an array or an object implementing Traversable

bool
is_long(mixed $value)

Alias: {is_int}

bool
is_nan(float $num)

Finds whether a value is not a number

bool
is_null(mixed $value)

Finds whether a variable is null.

bool
is_numeric(mixed $value)

Finds whether a variable is a number or a numeric string

bool
is_object(mixed $value)

Finds whether a variable is an object

bool
is_readable(string $filename)

Tells whether a file or a directory exists and is readable

bool
is_real(mixed $var)

Alias: {is_float}

bool
is_resource(mixed $value)

Finds whether a variable is a resource

bool
is_scalar(mixed $value)

Finds whether a variable is a scalar

bool
is_soap_fault(mixed $object)

Checks if a SOAP call has failed

bool
is_string(mixed $value)

Find whether the type of a variable is string

bool
is_uploaded_file(string $filename)

Tells whether the file was uploaded via HTTP POST

bool
is_writable(string $filename)

Tells whether the filename is writable

bool
is_writeable(string $filename)

Alias: {is_writable}

int
iterator_apply(Traversable $iterator, callable $callback, array|null $args)

Call a function for every element in an iterator

int
iterator_count(Traversable $iterator)

Count the elements in an iterator

array
iterator_to_array(Traversable $iterator, bool $preserve_keys = true)

Copy the iterator into an array

object
java(string $class)

Create Java object

void
java_last_exception_clear()

Clear last Java exception object record.

object|false
java_last_exception_get()

Return Java exception object for last exception

array
java_reload(string $new_jarpath)

Reload Jar's that were dynamically loaded

array
java_require(string $new_classpath)

Add to Java's classpath in runtime

array
java_set_encoding(string $encoding)

Set encoding for strings received by Java from PHP. Default is UTF-8.

void
java_set_ignore_case(bool $ignore)

Set case sensitivity for Java calls.

void
java_throw_exceptions(bool $throw)

Control if exceptions are thrown on Java exception. Only for PHP5.

string|int
jddayofweek(int $julian_day, int $mode = CAL_DOW_DAYNO)

Returns the day of the week

string
jdmonthname(int $julian_day, int $mode)

Returns a month name

string
jdtofrench(int $julian_day)

Converts a Julian Day Count to the French Republican Calendar

string
jdtogregorian(int $julian_day)

Converts Julian Day Count to Gregorian date

string
jdtojewish(int $julian_day, bool $hebrew = false, int $flags = 0)

Converts a Julian day count to a Jewish calendar date

string
jdtojulian(int $julian_day)

Converts a Julian Day Count to a Julian Calendar Date

int
jdtounix(int $julian_day)

Convert Julian Day to Unix timestamp

int
jewishtojd(int $month, int $day, int $year)

Converts a date in the Jewish Calendar to Julian Day Count

jobqueue_license_info()

returns array containing following fields: "license_ok" - whether license allows use of JobQueue "expires" - license expiration date

string
join(array|string $separator = "", array|null $array)

Alias: {implode}

bool
jpeg2wbmp(string $jpegname, string $wbmpname, int $dest_height, int $dest_width, int $threshold)

Convert JPEG image file to WBMP image file

mixed
json_decode(string $json, bool|null $associative = null, int $depth = 512, int $flags = 0)

(PHP 5 >= 5.2.0, PECL json >= 1.2.0)
Decodes a JSON string

string|false
json_encode(mixed $value, int $flags = 0, int $depth = 512)

(PHP 5 >= 5.2.0, PECL json >= 1.2.0)
Returns the JSON representation of a value

int
json_last_error()

Returns the last error occurred

string
json_last_error_msg()
Since: 5.5

Returns the error string of the last json_encode() or json_decode() call, which did not specify JSON_THROW_ON_ERROR.

bool
json_validate(string $json, int $depth = 512, int $flags = 0)
Since: 8.3

No description

int
juliantojd(int $month, int $day, int $year)

Converts a Julian Calendar date to Julian Day Count

string
kafka_err2name(int $errorCode)

Returns the name of the error

string
kafka_err2str(int $errorCode)

Returns the error message of an error code

array
kafka_get_err_descs()

Returns the full list of error codes.

int
kafka_offset_tail(int $offset)

Returns an offset value that is $offset before the tail of the topic

int
kafka_thread_cnt()

Retrieve the current number of threads in use by librdkafka.

string|int|null
key(object|array $array)

Fetch a key from an array

bool
key_exists(int|string $key, array $array)

Checks if the given key or index exists in the array. The name of this function is array_key_exists() in PHP > 4.0.6.

krsort(array $array, int $flags = SORT_REGULAR)

Sort an array by key in reverse order

ksort(array $array, int $flags = SORT_REGULAR)

Sort an array by key

string
lcfirst(string $string)

Make a string's first character lowercase

float
lcg_value()

Combined linear congruential generator

bool
lchgrp(string $filename, string|int $group)
Since: 5.1.2

Changes group ownership of symlink

bool
lchown(string $filename, string|int $user)
Since: 5.1.2

Changes user ownership of symlink

string
ldap_8859_to_t61(string $value)

Translate 8859 characters to t61 characters

bool
ldap_add(resource $ldap, string $dn, array $entry, array|null $controls = null)

Add entries to LDAP directory

resource|false
ldap_add_ext(resource $ldap, string $dn, array $entry, array|null $controls = null)
Since: 7.3

Add entries to LDAP directory Does the same thing as ldap_add() but returns the LDAP result resource to be parsed with ldap_parse_result().

bool
ldap_bind(resource $ldap, string|null $dn, string|null $password)

Bind to LDAP directory

resource|false
ldap_bind_ext(resource $ldap, string|null $dn, string|null $password, array|null $controls = null)
Since: 7.3

Bind to LDAP directory Does the same thing as ldap_bind() but returns the LDAP result resource to be parsed with ldap_parse_result().

bool
ldap_close(resource $ldap)

Alias of ldap_unbind

int|bool
ldap_compare(resource $ldap, string $dn, string $attribute, string $value, array|null $controls = null)

Compare value of attribute found in entry specified with DN

resource|false
ldap_connect(string|null $uri, int $port = 389)

Connect to an LDAP server

bool
ldap_control_paged_result(resource $ldap, int $pagesize, bool $iscritical = false, string $cookie = "")
Since: 5.4

Send LDAP pagination control

bool
ldap_control_paged_result_response(resource $ldap, resource $result, string $cookie = null, int $estimated = null)
Since: 5.4

Retrieve the LDAP pagination cookie

int|false
ldap_count_entries(resource $ldap, resource $result)

Count the number of entries in a search

int
ldap_count_references(resource $ldap, resource $result)
Since: 8.0

No description

bool
ldap_delete(resource $ldap, string $dn, array|null $controls = null)

Delete an entry from a directory

resource|false
ldap_delete_ext(resource $ldap, string $dn, array|null $controls = null)
Since: 7.3

Delete an entry from a directory Does the same thing as ldap_delete() but returns the LDAP result resource to be parsed with ldap_parse_result().

string|false
ldap_dn2ufn(string $dn)

Convert DN to User Friendly Naming format

string
ldap_err2str(int $errno)

Convert LDAP error number into string error message

int
ldap_errno(resource $ldap)

Return the LDAP error number of the last LDAP command

string
ldap_error(resource $ldap)

Return the LDAP error message of the last LDAP command

string
ldap_escape(string $value, string $ignore = "", int $flags = 0)
Since: 5.6

Escape a string for use in an LDAP filter or DN

resource|bool
ldap_exop(resource $ldap, string $request_oid, string|null $request_data, array|null $controls = null, string $response_data, string $response_oid)
Since: 7.2

Performs an extended operation on the specified link with reqoid the OID of the operation and reqdata the data.

string|bool
ldap_exop_passwd(resource $ldap, string $user = "", string $old_password = "", string $new_password = "", array $controls = null)
Since: 7.2

PASSWD extended operation helper

int|false
ldap_exop_refresh(resource $ldap, string $dn, int $ttl)
Since: 7.3

Refresh extended operation helper

Result|bool
ldap_exop_sync(Connection $ldap, string $request_oid, string|null $request_data = null, array|null $controls = null, $response_data = null, $response_oid = null)
Since: 8.3

No description

string|false
ldap_exop_whoami(resource $ldap)
Since: 7.2

WHOAMI extended operation helper

array|false
ldap_explode_dn(string $dn, int $with_attrib)

Splits DN into its component parts

string|false
ldap_first_attribute(resource $ldap, resource $entry)

Return first attribute

resource|false
ldap_first_entry(resource $ldap, resource $result)

Return first result id

resource
ldap_first_reference(resource $ldap, resource $result)

Return first reference

bool
ldap_free_result($ldap, Result $result)

Free result memory

array
ldap_get_attributes(resource $ldap, resource $entry)

Get attributes from a search result entry

string|false
ldap_get_dn(resource $ldap, resource $entry)

Get the DN of a result entry

array|false
ldap_get_entries(resource $ldap, resource $result)

Get all result entries

bool
ldap_get_option(resource $ldap, int $option, mixed $value = null)

Get the current value for given option

array|false
ldap_get_values(resource $ldap, resource $entry, string $attribute)

Get all values from a result entry

array|false
ldap_get_values_len(resource $ldap, resource $entry, string $attribute)

Get all binary values from a result entry

resource|false
ldap_list(resource $ldap, array|string $base, array|string $filter, array $attributes = [], int $attributes_only = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = 0, array|null $controls = null)

Single-level search

bool
ldap_mod_add(resource $ldap, string $dn, array $entry, array|null $controls = null)

Add attribute values to current attributes

resource|false
ldap_mod_add_ext(resource $ldap, string $dn, array $entry, array|null $controls = null)
Since: 7.3

Add attribute values to current attributes Does the same thing as ldap_mod_add() but returns the LDAP result resource to be parsed with ldap_parse_result().

bool
ldap_mod_del(resource $ldap, string $dn, array $entry, array|null $controls = null)

Delete attribute values from current attributes

resource|false
ldap_mod_del_ext(resource $ldap, string $dn, array $entry, array|null $controls = null)
Since: 7.3

Delete attribute values from current attributes Does the same thing as ldap_mod_del() but returns the LDAP result resource to be parsed with ldap_parse_result().

bool
ldap_mod_replace(resource $ldap, string $dn, array $entry, array|null $controls = null)

Replace attribute values with new ones

resource|false
ldap_mod_replace_ext(resource $ldap, string $dn, array $entry, array|null $controls = null)
Since: 7.3

Replace attribute values with new ones Does the same thing as ldap_mod_replace() but returns the LDAP result resource to be parsed with ldap_parse_result().

bool
ldap_modify(resource $ldap, string $dn, array $entry, array|null $controls = null)

This function is an alias of: ldap_mod_replace().

bool
ldap_modify_batch($ldap, string $dn, array $modifications_info, array|null $controls = null)
Since: 5.4

(PHP 5.4 >= 5.4.26, PHP 5.5 >= 5.5.10, PHP 5.6 >= 5.6.0) Batch and execute modifications on an LDAP entry

string|false
ldap_next_attribute(resource $ldap, resource $entry)

Get the next attribute in result

resource|false
ldap_next_entry(resource $ldap, resource $entry)

Get next result entry

resource
ldap_next_reference(resource $ldap, resource $entry)

Get next reference

bool
ldap_parse_exop(resource $ldap, resource $result, string $response_data = null, string $response_oid = null)
Since: 7.2

Parse LDAP extended operation data from result object result

bool
ldap_parse_reference(resource $ldap, resource $entry, array $referrals)

Extract information from reference entry

bool
ldap_parse_result(resource $ldap, resource $result, int $error_code, string $matched_dn, string $error_message, array $referrals, array $controls = null)

Extract information from result

resource|false
ldap_read(resource $ldap, array|string $base, array|string $filter, array $attributes = [], int $attributes_only = 0, int $sizelimit = -1, int $timelimit = -1, int $deref = 0, array|null $controls = null)

Read an entry

bool
ldap_rename(resource $ldap, string $dn, string $new_rdn, string $new_parent, bool $delete_old_rdn, array|null $controls = null)

Modify the name of an entry

resource|false
ldap_rename_ext(resource $ldap, string $dn, string $new_rdn, string $new_parent, bool $delete_old_rdn, array|null $controls = null)
Since: 7.3

Modify the name of an entry Does the same thing as ldap_rename() but returns the LDAP result resource to be parsed with ldap_parse_result().

bool
ldap_sasl_bind(resource $ldap, string $binddn = null, string $password = null, string $sasl_mech = null, string $sasl_realm = null, string $sasl_authc_id = null, string $sasl_authz_id = null, string $props = null)

Bind to LDAP directory using SASL

bool
ldap_set_option(resource $ldap, int $option, mixed $value)

Set the value of the given option

bool
ldap_set_rebind_proc(resource $ldap, callable|null $callback)

Set a callback function to do re-binds on referral chasing

bool
ldap_sort(resource $ldap, resource $result, string $sortfilter)

Sort LDAP result entries

bool
ldap_start_tls(resource $ldap)

Start TLS

string
ldap_t61_to_8859(string $value)

Translate t61 characters to 8859 characters

bool
ldap_unbind(resource $ldap)

Unbind from LDAP directory

int
levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_cost = 1, int $deletion_cost = 1)

Calculate Levenshtein distance between two strings

bool
libvirt_check_version(int $major, int $minor, int $micro, int $type)
Since: 0.4.1(-1)

Function is used to check major, minor and micro (also sometimes called release) versions of libvirt-php or libvirt itself. This could useful when you want your application to support only versions of libvirt or libvirt-php higher than some version specified

resource
libvirt_connect(string $url, bool $readonly = true, array $credentials)
Since: 0.4.1(-1)

Function is used to connect to the specified libvirt daemon using the specified URL, user can also set the readonly flag and/or set credentials for connection

array|false
libvirt_connect_get_all_domain_stats(resource $conn, int $stats = 0, int $flags = 0)
Since: 0.5.1(-1)

Query statistics for all domains on a given connection

string
libvirt_connect_get_capabilities(resource $conn, string|null $xpath)
Since: 0.4.1(-2)

Function is used to get the capabilities information from the connection

string
libvirt_connect_get_emulator(resource $conn, string|null $arch)
Since: 0.4.5

Function is used to get the emulator for requested connection/architecture

int
libvirt_connect_get_encrypted(resource $conn)
Since: 0.4.1(-2)

Function is used to get the information whether the connection is encrypted or not

string|false
libvirt_connect_get_hostname(resource $conn)
Since: 0.4.1(-1)

Function is used to get the hostname of the guest associated with the connection

array
libvirt_connect_get_hypervisor(resource $conn)

Function is used to get the information about the hypervisor on the connection identified by the connection pointer

array
libvirt_connect_get_information(resource $conn)
Since: 0.4.1(-2)

Function is used to get the information about the connection

array
libvirt_connect_get_machine_types(resource $conn)
Since: 0.4.9

Function is used to get machine types supported by hypervisor on the connection

int|false
libvirt_connect_get_maxvcpus(resource $conn)
Since: 0.4.1(-2)

Function is used to get maximum number of VCPUs per VM on the hypervisor connection

array
libvirt_connect_get_nic_models(resource $conn, string|null $arch)
Since: 0.4.9

Function is used to get NIC models for requested connection/architecture

int
libvirt_connect_get_secure(resource $conn)
Since: 0.4.1(-2)

Function is used to get the information whether the connection is secure or not

array
libvirt_connect_get_soundhw_models(resource $conn, string|null $arch, int $flags = 0)
Since: 0.4.9

Function is used to get sound hardware models for requested connection/architecture

string|false
libvirt_connect_get_sysinfo(resource $conn)
Since: 0.4.1(-2)

Function is used to get the system information from connection if available

string|false
libvirt_connect_get_uri(resource $conn)
Since: 0.4.1(-1)

Function is used to get the connection URI. This is useful to check the hypervisor type of host machine when using "null" uri to libvirt_connect()

bool
libvirt_domain_attach_device(resource $res, string $xml, int $flags = 0)
Since: 0.5.3

Function is used to attach a virtual device to a domain

bool
libvirt_domain_block_commit(resource $res, string $disk, string|null $base, string|null $top, int $bandwidth = 0, int $flags = 0)
Since: 0.5.2(-1)

Function is used to commit block job

bool
libvirt_domain_block_job_abort(resource $res, string $path, int $flags = 0)
Since: 0.5.1(-1)

Function is used to abort block job

array
libvirt_domain_block_job_info(resource $res, string $disk, int $flags = 0)
Since: 0.5.2(-1)

Function is used to attach a virtual device to a domain

bool
libvirt_domain_block_job_set_speed(resource $res, string $path, int $bandwidth, int $flags = 0)
Since: 0.4.1(-1)

Function is used to set speed of block job

bool
libvirt_domain_block_resize(resource $res, string $path, int $size, int $flags = 0)
Since: 0.5.1(-1)

Function is used to resize the domain's block device

array
libvirt_domain_block_stats(resource $res, string $path)
Since: 0.4.1(-1)

Function is used to get the domain's block stats

resource
libvirt_domain_change_boot_devices(resource $res, string $first, string $second, int $flags = 0)
Since: 0.4.2

Function is used to change the domain boot devices

resource
libvirt_domain_change_memory(resource $res, int $allocMem, int $allocMax, int $flags = 0)
Since: 0.4.2

Function is used to change the domain memory allocation

bool
libvirt_domain_change_vcpus(resource $res, int $numCpus, int $flags = 0)
Since: 0.4.2

Function is used to change the VCPU count for the domain

bool
libvirt_domain_core_dump(resource $res, string $to)
Since: 0.4.1(-2)

Function is used to dump core of the domain identified by it's resource

bool
libvirt_domain_create(resource $res)
Since: 0.4.1(-1)

Function is used to create the domain identified by it's resource

resource
libvirt_domain_create_xml(resource $conn, string $xml, int $flags = 0)
Since: 0.4.1(-1)

Function is used to create the domain identified by it's resource

resource
libvirt_domain_define_xml(resource $conn, string $xml)
Since: 0.4.1(-1)

Function is used to define the domain from XML string

bool
libvirt_domain_destroy(resource $res)
Since: 0.4.1(-1)

Function is used to destroy the domain identified by it's resource

bool
libvirt_domain_detach_device(resource $res, string $xml, int $flags = VIR_DOMAIN_AFFECT_LIVE)
Since: 0.5.3

Function is used to detach a virtual device from a domain

resource
libvirt_domain_disk_add(resource $res, string $img, string $dev, string $typ, string $driver, int $flags = 0)
Since: 0.4.2

Function is used to add the disk to the virtual machine using set of API functions to make it as simple as possible for the user

resource
libvirt_domain_disk_remove(resource $res, string $dev, int $flags = 0)
Since: 0.4.2

Function is used to remove the disk from the virtual machine using set of API functions to make it as simple as possible

int
libvirt_domain_get_autostart(resource $res)
Since: 0.4.1(-1)

Function is getting the autostart value for the domain

array
libvirt_domain_get_block_info(resource $res, string $dev)
Since: 0.4.1(-1)

Function is used to get the domain's block device information

resource
libvirt_domain_get_connect(resource $res)
Since: 0.4.1(-1)

Function is used to get the domain's connection resource. This function should not be used!

array
libvirt_domain_get_counts(resource $conn)
Since: 0.4.1(-1)

Function is getting domain counts for all, active and inactive domains

array|false
libvirt_domain_get_disk_devices(resource $res)
Since: 0.4.4

Function is used to get disk devices for the domain

int
libvirt_domain_get_id(resource $res)
Since: 0.4.1(-1)

Function is used to get the domain's ID, applicable to running guests only

array
libvirt_domain_get_info(resource $res)
Since: 0.4.4

Function is used to get the domain's information

array|false
libvirt_domain_get_interface_devices(resource $res)
Since: 0.4.4

Function is used to get network interface devices for the domain

array
libvirt_domain_get_job_info(resource $res)
Since: 0.4.1(-1)

Function is used get job information for the domain

string|null|false
libvirt_domain_get_metadata(resource $res, int $type, string $uri, int $flags = 0)
Since: 0.4.9

Function retrieve appropriate domain element given by $type

string
libvirt_domain_get_name(resource $res)
Since: 0.4.1(-1)

Function is used to get domain name from it's resource

array
libvirt_domain_get_network_info(resource $res, string $mac)
Since: 0.4.1(-1)

Function is used to get the domain's network information

array
libvirt_domain_get_next_dev_ids(resource $res)
Since: 0.4.2

This functions can be used to get the next free slot if you intend to add a new device identified by slot to the domain, e.g. NIC device

array|false
libvirt_domain_get_screen_dimensions(resource $res, string $server)
Since: 0.4.2

Function get screen dimensions of the VNC window

string
libvirt_domain_get_screenshot(resource $res, string $server, int $scancode = 10)
Since: 0.4.2

Function uses gvnccapture (if available) to get the screenshot of the running domain

array
libvirt_domain_get_screenshot_api(resource $res, int $screenID = 0)
Since: 0.4.5

Function is trying to get domain screenshot using libvirt virGetDomainScreenshot() API if available

string
libvirt_domain_get_uuid(resource $res)
Since: 0.4.1(-1)

Function is used to get the domain's UUID in binary format

string
libvirt_domain_get_uuid_string(resource $res)
Since: 0.4.1(-1)

Function is used to get the domain's UUID in string format

string
libvirt_domain_get_xml_desc(resource $res, string|null $xpath, int $flags = 0)
Since: 0.4.2

Function is used to get the domain's XML description

bool
libvirt_domain_has_current_snapshot(resource $res, int $flags = 0)
Since: 0.4.1(-2)

Function is used to get the information whether domain has the current snapshot

array|false
libvirt_domain_interface_addresses(resource $res, int $source)
Since: 0.5.5

Function is used to get network interface addresses for the domain

array
libvirt_domain_interface_stats(resource $res, string $path)
Since: 0.4.1(-1)

Function is used to get the domain's interface stats

bool
libvirt_domain_is_active(resource $res)
Since: 0.4.1(-1)

Function is getting information whether domain identified by resource is active or not

bool
libvirt_domain_is_persistent(resource $res)
Since: 0.4.9

Function to get information whether domain is persistent or not

resource
libvirt_domain_lookup_by_id(resource $conn, string $id)
Since: 0.4.1(-1)

Function is used to get domain by it's ID, applicable only to running guests

resource
libvirt_domain_lookup_by_name(resource $res, string $name)
Since: 0.4.1(-1)

Function is used to lookup for domain by it's name

resource
libvirt_domain_lookup_by_uuid(resource $res, string $uuid)
Since: 0.4.1(-1)

Function is used to lookup for domain by it's UUID in the binary format

resource
libvirt_domain_lookup_by_uuid_string(resource $res, string $uuid)
Since: 0.4.1(-1)

Function is used to get the domain by it's UUID that's accepted in string format

bool
libvirt_domain_managedsave(resource $res)
Since: 0.4.1(-1)

Function is used to managed save the domain (domain was unloaded from memory and it state saved to disk) identified by it's resource

int
libvirt_domain_memory_peek(resource $res, int $start, int $size, int $flags = 0)
Since: 0.4.1(-1)

Function is used to get the domain's memory peek value

array
libvirt_domain_memory_stats(resource $res, int $flags = 0)
Since: 0.4.1(-1)

Function is used to get the domain's memory stats

resource
libvirt_domain_migrate(resource $res, string $dest_conn, int $flags, string $dname, int $bandwidth = 0)
Since: 0.4.1(-1)

Function is used migrate domain to another domain

bool
libvirt_domain_migrate_to_uri(resource $res, string $dest_uri, int $flags, string $dname, int $bandwidth = 0)
Since: 0.4.1(-1)

Function is used migrate domain to another libvirt daemon specified by it's URI

bool
libvirt_domain_migrate_to_uri2(resource $res, string $dconnuri, string $miguri, string $dxml, int $flags, string $dname, int $bandwidth = 0)
Since: 0.4.6(-1)

Function is used migrate domain to another libvirt daemon specified by it's URI

resource
libvirt_domain_new(resource $conn, string $name, string|null|false $arch, int $memMB, int $maxmemMB, int $vcpus, string $iso_image, array $disks, array $networks, int $flags = 0)
Since: 0.4.5

Function is used to install a new virtual machine to the machine

string|null
libvirt_domain_new_get_vnc()
Since: 0.4.5

Function is used to get the VNC server location for the newly created domain (newly started installation)

resource
libvirt_domain_nic_add(resource $res, string $mac, string $network, string $model, int $flags = 0)
Since: 0.4.2

Function is used to add the NIC card to the virtual machine using set of API functions to make it as simple as possible for the user

resource
libvirt_domain_nic_remove(resource $res, string $dev, int $flags = 0)
Since: 0.4.2

Function is used to remove the NIC from the virtual machine using set of API functions to make it as simple as possible

string|false
libvirt_domain_qemu_agent_command(resource $res, string $cmd, int $timeout = -1, int $flags = 0)
Since: 0.5.2(-1)

Function is used to send qemu-ga command

bool
libvirt_domain_reboot(resource $res, int $flags = 0)
Since: 0.4.1(-1)

Function is used to reboot the domain identified by it's resource

bool
libvirt_domain_reset(resource $res, int $flags = 0)
Since: 0.5.5

Function is used to reset the domain identified by its resource

resource
libvirt_domain_resume(resource $res)
Since: 0.4.1(-1)

Function is used to resume the domain identified by it's resource

bool
libvirt_domain_send_key_api(resource $res, int $codeset, int $holdtime, array $keycodes, int $flags = 0)
Since: 0.5.3

Function sends keys to domain via libvirt API

bool
libvirt_domain_send_keys(resource $res, string $server, int $scancode)
Since: 0.4.2

Function sends keys to the domain's VNC window

bool
libvirt_domain_send_pointer_event(resource $res, string $server, int $pos_x, int $pos_y, int $clicked, bool $release = true)
Since: 0.4.2

Function sends keys to the domain's VNC window

bool
libvirt_domain_set_autostart(resource $res, bool $flags)
Since: 0.4.1(-1)

Function is setting the autostart value for the domain

bool
libvirt_domain_set_max_memory(resource $res, int $memory)
Since: 0.5.1

Function to set max memory for domain

bool
libvirt_domain_set_memory(resource $res, int $memory)
Since: 0.5.1

Function to set memory for domain

bool
libvirt_domain_set_memory_flags(resource $res, int $memory = 0, int $flags = 0)
Since: 0.5.1

Function to set max memory for domain

int
libvirt_domain_set_metadata(resource $res, int $type, string $metadata, string $key, string $uri, int $flags = 0)
Since: 0.4.9

Function sets the appropriate domain element given by $type to the value of $metadata. No new lines are permitted

bool
libvirt_domain_shutdown(resource $res)
Since: 0.4.1(-1)

Function is used to shutdown the domain identified by it's resource

resource
libvirt_domain_snapshot_create(resource $res, int $flags = 0)
Since: 0.4.1(-2)

This function creates the domain snapshot for the domain identified by it's resource

resource
libvirt_domain_snapshot_current(resource $res, int $flags = 0)
Since: 0.5.6

Function is used to lookup the current snapshot for given domain

bool
libvirt_domain_snapshot_delete(resource $res, int $flags = 0)
Since: 0.4.1(-2)

Function is used to revert the domain state to the state identified by the snapshot

string
libvirt_domain_snapshot_get_xml(resource $res, int $flags = 0)
Since: 0.4.1(-2)

Function is used to get the XML description of the snapshot identified by it's resource

resource
libvirt_domain_snapshot_lookup_by_name(resource $res, string $name, int $flags = 0)
Since: 0.4.1(-2)

This functions is used to lookup for the snapshot by it's name

bool
libvirt_domain_snapshot_revert(resource $res, int $flags = 0)
Since: 0.4.1(-2)

Function is used to revert the domain state to the state identified by the snapshot

bool
libvirt_domain_suspend(resource $res)
Since: 0.4.1(-1)

Function is used to suspend the domain identified by it's resource

bool
libvirt_domain_undefine(resource $res)
Since: 0.4.1(-1)

Function is used to undefine the domain identified by it's resource

bool
libvirt_domain_undefine_flags(resource $res, int $flags = 0)
Since: 999 https://github.com/yzslab/php-libvirt-client

Function is used to undefine(with flags) the domain identified by it's resource

bool
libvirt_domain_update_device(resource $res, string $xml, int $flags)
Since: 0.4.1(-1)

Function is used to update the domain's devices from the XML string

string|false
libvirt_domain_xml_from_native(resource $conn, string $format, string $config_data)
Since: 0.5.3

Function is used to convert native configuration data to libvirt domain XML

string|false
libvirt_domain_xml_to_native(resource $conn, string $format, string $xml_data)
Since: 0.5.3

Function is used to convert libvirt domain XML to native configuration

array
libvirt_domain_xml_xpath(resource $res, string $xpath, int $flags = 0)
Since: 0.4.1(-1)

Function is used to get the result of xPath expression that's run against the domain

array|false
libvirt_get_iso_images(string $path)

Function to get the ISO images on path and return them in the array

string
libvirt_get_last_error()

This function is used to get the last error coming either from libvirt or the PHP extension itself

int
libvirt_get_last_error_code()
Since: 999 https://github.com/yzslab/php-libvirt-client

This function is used to get the last error code coming either from libvirt or the PHP extension itself

int
libvirt_get_last_error_domain()
Since: 999 https://github.com/yzslab/php-libvirt-client

This function is used to get the what part of the library raised the last error

bool
libvirt_has_feature(string $name)
Since: 0.4.1(-3)

Function to check for feature existence for working libvirt instance

string|false
libvirt_image_create(resource $conn, string $name, int $size, string $format)
Since: 0.4.2

Function is used to create the image of desired name, size and format.

string|false
libvirt_image_remove(resource $conn, string $image)
Since: 0.4.2

Function is used to create the image of desired name, size and format.

array
libvirt_list_active_domain_ids(resource $res)
Since: 0.4.1(-1)

Function is used to list active domain IDs on the connection

array
libvirt_list_active_domains(resource $res)
Since: 0.4.1(-1)

Function is used to list active domain names on the connection

array
libvirt_list_active_storagepools(resource $res)
Since: 0.4.1(-1)

Function is used to list active storage pools on the connection

array
libvirt_list_all_networks(resource $conn, int $flags = VIR_CONNECT_LIST_NETWORKS_ACTIVE | VIR_CONNECT_LIST_NETWORKS_INACTIVE)
Since: 0.5.3

Function is used to list networks on the connection

array
libvirt_list_all_nwfilters(resource $res)
Since: 0.5.4

Function is used to list nwfilters on the connection

array
libvirt_list_domain_resources(resource $res)
Since: 0.4.1(-1)

Function is used to list domain resources on the connection

array
libvirt_list_domain_snapshots(resource $res, int $flags = 0)
Since: 0.4.1(-2)

Function is used to list domain snapshots for the domain specified by it's resource

array
libvirt_list_domains(resource $res)
Since: 0.4.1(-1)

Function is used to list domains on the connection

array
libvirt_list_inactive_domains(resource $res)
Since: 0.4.1(-1)

Function is used to list inactive domain names on the connection

array
libvirt_list_inactive_storagepools(resource $res)
Since: 0.4.1(-1)

Function is used to list inactive storage pools on the connection

array
libvirt_list_networks(resource $res, int $flags = 0)
Since: 0.4.1(-1)

Function is used to list networks on the connection

array
libvirt_list_nodedevs(resource $res, string|null $cap)
Since: 0.4.1(-1)

Function is used to list node devices on the connection

array
libvirt_list_nwfilters(resource $conn)
Since: 0.5.4

Function is used to list nwfilters on the connection

array
libvirt_list_storagepools(resource $res)
Since: 0.4.1(-1)

Function is used to list storage pools on the connection

bool
libvirt_logfile_set(string|null $filename, int $maxsize)
Since: 0.4.2

Function to set the log file for the libvirt module instance

resource
libvirt_network_define_xml(resource $res, string $xml)
Since: 0.4.2

Function is used to define a new virtual network based on the XML description

resource
libvirt_network_get(resource $res, string $name)
Since: 0.4.1(-1)

Function is used to get the network resource from name

int|false
libvirt_network_get_active(resource $res)
Since: 0.4.1(-1)

Function is used to get the activity state of the network

int
libvirt_network_get_autostart(resource $res)
Since: 0.5.4

Function is getting the autostart value for the network

string
libvirt_network_get_bridge(resource $res)
Since: 0.4.1(-1)

Function is used to get the bridge associated with the network

array
libvirt_network_get_information(resource $res)
Since: 0.4.1(-1)

Function is used to get the network information

string|false
libvirt_network_get_name(resource $res)
Since: 0.5.3

Function is used to get network's name

string|false
libvirt_network_get_uuid(resource $res)
Since: 0.5.3

Function is used to get network's UUID in binary format

string|false
libvirt_network_get_uuid_string(resource $res)
Since: 0.5.3

Function is used to get network's UUID in string format

string|false
libvirt_network_get_xml_desc(resource $res, string|null $xpath)
Since: 0.4.1(-1)

Function is used to get the XML description for the network

bool
libvirt_network_set_active(resource $res, int $flags)
Since: 0.4.1(-1)

Function is used to set the activity state of the network

bool
libvirt_network_set_autostart(resource $res, int $flags)
Since: 0.5.4

Function is setting the autostart value for the network

bool
libvirt_network_undefine(resource $res)
Since: 0.4.2

Function is used to undefine already defined network

array|false
libvirt_node_get_cpu_stats(resource $conn, int $cpunr = VIR_NODE_CPU_STATS_ALL_CPUS)
Since: 0.4.6

Function is used to get the CPU stats per nodes

array|false
libvirt_node_get_cpu_stats_for_each_cpu(resource $conn, int $time = 0)
Since: 0.4.6

Function is used to get the CPU stats for each CPU on the host node

string|false
libvirt_node_get_free_memory(resource $conn)
Since: 0.5.3

Function is used to get free memory available on the node

array|false
libvirt_node_get_info(resource $conn)
Since: 0.4.1(-1)

Function is used to get the information about host node, mainly total memory installed, total CPUs installed and model information are useful

array
libvirt_node_get_mem_stats(resource $conn)
Since: 0.4.6

Function is used to get the memory stats per node

array
libvirt_nodedev_capabilities(resource $res)
Since: 0.4.1(-1)

Function is used to list node devices by capabilities

resource
libvirt_nodedev_get(resource $res, string $name)
Since: 0.4.1(-1)

Function is used to get the node device by it's name

array
libvirt_nodedev_get_information(resource $res)
Since: 0.4.1(-1)

Function is used to get the node device's information

string
libvirt_nodedev_get_xml_desc(resource $res, string|null $xpath)
Since: 0.4.2

Function is used to get the node device's XML description

resource|false
libvirt_nwfilter_define_xml(resource $conn, string $xml)
Since: 0.5.4

Function is used to define a new nwfilter based on the XML description

string|false
libvirt_nwfilter_get_name(resource $res)
Since: 0.5.4

Function is used to get nwfilter's name

string|false
libvirt_nwfilter_get_uuid(resource $res)
Since: 0.5.3

Function is used to get nwfilter's UUID in binary format

string|false
libvirt_nwfilter_get_uuid_string(resource $res)
Since: 0.5.4

Function is used to get nwfilter's UUID in string format

string
libvirt_nwfilter_get_xml_desc(resource $res, string|null $xpath)
Since: 0.5.4

Function is used to lookup for nwfilter identified by UUID string

resource|false
libvirt_nwfilter_lookup_by_name(resource $conn, string $name)
Since: 0.5.4

This functions is used to lookup for the nwfilter by it's name

resource|false
libvirt_nwfilter_lookup_by_uuid_string(resource $conn, string $uuid)
Since: 0.5.4

Function is used to lookup for nwfilter identified by UUID string

bool
libvirt_nwfilter_undefine(resource $res)
Since: 0.5.4

Function is used to undefine already defined nwfilter

resource
libvirt_print_binding_resources()
Since: 0.4.2

Function to print the binding resources, although the resource information are printed, they are returned in the return_value

bool
libvirt_storagepool_build(resource $res)
Since: 0.4.2

Function is used to Build the underlying storage pool, e.g. create the destination directory for NFS

bool
libvirt_storagepool_create(resource $res)
Since: 0.4.1(-1)

Function is used to create/start the storage pool

resource
libvirt_storagepool_define_xml(resource $res, string $xml, int $flags = 0)
Since: 0.4.1(-1)

Function is used to define the storage pool from XML string and return it's resource

bool
libvirt_storagepool_delete(resource $res)
Since: 0.4.6

Function is used to Delete the underlying storage pool, e.g. remove the destination directory for NFS

bool
libvirt_storagepool_destroy(resource $res)
Since: 0.4.1(-1)

Function is used to destroy the storage pool

bool
libvirt_storagepool_get_autostart(resource $res)
Since: 0.4.1(-1)

Function is used to get autostart of the storage pool

array
libvirt_storagepool_get_info(resource $res)
Since: 0.4.1(-1)

Function is used to get information about the storage pool

string
libvirt_storagepool_get_name(resource $res)
Since: 0.4.1(-1)

Function is used to get storage pool name from the storage pool resource

string
libvirt_storagepool_get_uuid_string(resource $res)
Since: 0.4.1(-1)

Function is used to get storage pool by UUID string

int
libvirt_storagepool_get_volume_count(resource $res)
Since: 0.4.1(-1)

Function is used to get storage volume count in the storage pool

string
libvirt_storagepool_get_xml_desc(resource $res, string|null $xpath)
Since: 0.4.2

Function is used to get the XML description for the storage pool identified by res

bool
libvirt_storagepool_is_active(resource $res)
Since: 0.4.1(-1)

Function is used to get information whether storage pool is active or not

array
libvirt_storagepool_list_volumes(resource $res)
Since: 0.4.1(-1)

Function is used to list volumes in the specified storage pool

resource
libvirt_storagepool_lookup_by_name(resource $res, string $name)
Since: 0.4.1(-1)

Function is used to lookup for storage pool by it's name

resource
libvirt_storagepool_lookup_by_uuid_string(resource $res, string $uuid)
Since: 0.4.1(-1)

Function is used to lookup for storage pool identified by UUID string

resource
libvirt_storagepool_lookup_by_volume(resource $res)
Since: 0.4.1(-1)

Function is used to lookup for storage pool by a volume

bool
libvirt_storagepool_refresh(resource $res, int $flags = 0)
Since: 0.4.1(-1)

Function is used to refresh the storage pool information

bool
libvirt_storagepool_set_autostart(resource $res, bool $flags)

Function is used to set autostart of the storage pool

bool
libvirt_storagepool_undefine(resource $res)
Since: 0.4.1(-1)

Function is used to undefine the storage pool identified by it's resource

resource
libvirt_storagevolume_create_xml(resource $res, string $xml, int $flags = 0)
Since: 0.4.1(-1)

Function is used to create the new storage pool and return the handle to new storage pool

resource
libvirt_storagevolume_create_xml_from(resource $pool, string $xml, resource $original_volume)
Since: 0.4.1(-2)

Function is used to clone the new storage volume into pool from the original volume

bool
libvirt_storagevolume_delete(resource $res, int $flags = 0)
Since: 0.4.2

Function is used to delete to volume identified by it's resource

int
libvirt_storagevolume_download(resource $res, resource $stream, int $offset = 0, int $length = 0, int $flags = 0)
Since: 0.5.0

Function is used to download volume identified by it's resource

array
libvirt_storagevolume_get_info(resource $res)
Since: 0.4.1(-1)

Function is used to get the storage volume information

string
libvirt_storagevolume_get_name(resource $res)
Since: 0.4.1(-2)

Function is used to get the storage volume name

string
libvirt_storagevolume_get_path(resource $res)
Since: 0.4.1(-2)

Function is used to get the storage volume path

string
libvirt_storagevolume_get_xml_desc(resource $res, string|null $xpath, int $flags = 0)
Since: 0.4.2

Function is used to get the storage volume XML description

resource
libvirt_storagevolume_lookup_by_name(resource $res, string $name)
Since: 0.4.1(-1)

Function is used to lookup for storage volume by it's name

resource
libvirt_storagevolume_lookup_by_path(resource $res, string $path)
Since: 0.4.1(-2)

Function is used to lookup for storage volume by it's path

int
libvirt_storagevolume_resize(resource $res, int $capacity, int $flags = 0)
Since: 0.5.0

Function is used to resize volume identified by it's resource

int
libvirt_storagevolume_upload(resource $res, resource $stream, int $offset = 0, int $length = 0, int $flags = 0)
Since: 0.5.0

Function is used to upload volume identified by it's resource

int
libvirt_stream_abort(resource $res)
Since: 0.5.0

Function is used to abort transfer

int
libvirt_stream_close(resource $res)
Since: 0.5.0

Function is used to close stream

resource
libvirt_stream_create(resource $res)
Since: 0.5.0

Function is used to create new stream from libvirt conn

int
libvirt_stream_finish(resource $res)
Since: 0.5.0

Function is used to finish transfer

int
libvirt_stream_recv(resource $res, string $data, int $len = 0)
Since: 0.5.0

Function is used to close stream from libvirt conn

int
libvirt_stream_send(resource $res, string $data, int $length = 0)
Since: 0.5.0

Function is used to close stream from libvirt conn

array
libvirt_version(string $type)
Since: 0.4.1(-1)

Function is used to get libvirt, driver and libvirt-php version numbers. Can be used for information purposes, for version checking please use libvirt_check_version() defined below

void
libxml_clear_errors()

Clear libxml error buffer

bool
libxml_disable_entity_loader(bool $disable = true)
Since: 5.2.11

Disable the ability to load external entities

array
libxml_get_errors()

Retrieve array of errors

callable|null
libxml_get_external_entity_loader()
Since: 8.2

Returns the currently installed external entity loader, i.e. the value which was passed to libxml_set_external_entity_loader() or null if no loader was installed and the default entity loader will be used.

LibXMLError|false
libxml_get_last_error()

Retrieve last error from libxml

bool
libxml_set_external_entity_loader(callable|null $resolver_function)
Since: 5.4

Changes the default external entity loader

void
libxml_set_streams_context(resource $context)

Set the streams context for the next libxml document load or write

bool
libxml_use_internal_errors(bool|null $use_errors = null)

Disable libxml errors and allow user to fetch error information as needed

int|false
linkinfo(string $path)

Gets information about a link

string|false
locale_accept_from_http(string $header)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Tries to find out best available locale based on HTTP "Accept-Language" header

string|null
locale_canonicalize(string $locale)

Canonicalize the locale string

string|false
locale_compose(array $subtags)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns a correctly ordered and delimited locale ID

bool|null
locale_filter_matches(string $languageTag, string $locale, bool $canonicalize = false)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Checks if a language tag filter matches with locale

array|null
locale_get_all_variants(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Gets the variants for the input locale

string
locale_get_default()

Gets the default locale value from the intl global 'default_locale'

string|false
locale_get_display_language(string $locale, string|null $displayLocale = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns an appropriately localized display name for language of the inputlocale

string|false
locale_get_display_name(string $locale, string|null $displayLocale = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns an appropriately localized display name for the input locale

string|false
locale_get_display_region(string $locale, string|null $displayLocale = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns an appropriately localized display name for region of the input locale

string|false
locale_get_display_script(string $locale, string|null $displayLocale = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns an appropriately localized display name for script of the input locale

string|false
locale_get_display_variant(string $locale, string|null $displayLocale = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns an appropriately localized display name for variants of the input locale

array|false|null
locale_get_keywords(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Gets the keywords for the input locale

string|null
locale_get_primary_language(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Gets the primary language for the input locale

string|null
locale_get_region(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Gets the region for the input locale

string|null
locale_get_script(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Gets the script for the input locale

string|null
locale_lookup(array $languageTag, string $locale, bool $canonicalize = false, string|null $defaultLocale = null)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Searches the language tag list for the best match to the language

array|null
locale_parse(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Returns a key-value array of locale ID subtag elements.

bool
locale_set_default(string $locale)

(PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
Set the default runtime Locale

array
localeconv()

Get numeric formatting information

array
localtime(int|null $timestamp, bool $associative = false)

Get the local time

float
log(float $num, float $base = M_E)

Natural logarithm

float
log10(float $num)

Base-10 logarithm

float
log1p(float $num)

Returns log(1 + number), computed in a way that is accurate even when the value of number is close to zero

string|false
long2ip(int $ip)

Converts an long integer address into a string in (IPv4) internet standard dotted format

array|false
lstat(string $filename)

Gives information about a file or symbolic link

string
ltrim(string $string, string $characters = " \n\r\t\v\x00")

Strip whitespace (or other characters) from the beginning of a string

false|string
lzf_compress(string $data)
Since: 0.1.0

Compresses the given data string using LZF encoding.

false|string
lzf_decompress(string $data)
Since: 0.1.0

Decompresses the given data string containing lzf encoded data.

int
lzf_optimized_for()
Since: 1.0.0

Determines what was LZF extension optimized for during compilation.

magic_quotes_runtime(bool $new_setting)

Alias: {set_magic_quotes_runtime}

bool
mail(string $to, string $subject, string $message, array|string $additional_headers = [], string $additional_params = '')

Send mail

string
mailparse_determine_best_xfer_encoding(resource $fp)

(PECL mailparse >= 0.9.0)
Figures out the best way of encoding the content read from the given file pointer.

resource
mailparse_msg_create()

(PECL mailparse >= 0.9.0)
Create a MIME mail resource.

void
mailparse_msg_extract_part(resource $mimemail, string $msgbody, callable $callbackfunc)

(PECL mailparse >= 0.9.0)
Extracts/decodes a message section

string|bool
mailparse_msg_extract_part_file(resource $mimemail, mixed $filename, callable $callbackfunc)

(PECL mailparse >= 0.9.0)
Extracts/decodes a message section from the supplied filename.

string
mailparse_msg_extract_whole_part_file(resource $mimemail, string $filename, callable $callbackfunc)

(PECL mailparse >= 0.9.0)
Extracts a message section including headers without decoding the transfer encoding

bool
mailparse_msg_free(resource $mimemail)

(PECL mailparse >= 0.9.0)
Frees a MIME resource.

resource|false
mailparse_msg_get_part(resource $mimemail, string $mimesection)

(PECL mailparse >= 0.9.0)
Returns a handle on a given section in a mimemessage

array
mailparse_msg_get_part_data(resource $mimemail)

(PECL mailparse >= 0.9.0)
Returns an associative array of info about the message

array
mailparse_msg_get_structure(resource $mimemail)

(PECL mailparse >= 0.9.0)
Returns an array of mime section names in the supplied message

bool
mailparse_msg_parse(resource $mimemail, string $data)

(PECL mailparse >= 0.9.0)
Incrementally parse data into the supplied mime mail resource.

resource|false
mailparse_msg_parse_file(string $filename)

(PECL mailparse >= 0.9.0)
Parses a file. This is the optimal way of parsing a mail file that you have on disk.

array
mailparse_rfc822_parse_addresses(string $addresses)

(PECL mailparse >= 0.9.0)
Parses a http://www.faqs.org/rfcs/rfc822 RFC 822 compliant recipient list, such as that found in the To: header.

bool
mailparse_stream_encode(resource $sourcefp, resource $destfp, string $encoding)

(PECL mailparse >= 0.9.0)
Streams data from the source file pointer, apply encoding and write to the destination file pointer.

array
mailparse_uudecode_all(resource $fp)

(PECL mailparse >= 0.9.0)
Scans the data from the given file pointer and extract each embedded uuencoded file into a temporary file.

mixed
max(mixed $value, mixed ...$values)

Find highest value

bool
mb_check_encoding(array|string|null $value = null, string|null $encoding)
Since: 5.1.3

Check if the string is valid for the specified encoding

string|false
mb_chr(int $codepoint, string|null $encoding)
Since: 7.2

Get a specific character.

string
mb_convert_case(string $string, int $mode, string|null $encoding)

Perform case folding on a string

array|string|false
mb_convert_encoding(array|string $string, string $to_encoding, array|string|null $from_encoding = null)

Convert character encoding

string
mb_convert_kana(string $string, string $mode = 'KV', string|null $encoding)

Convert "kana" one from another ("zen-kaku", "han-kaku" and more)

string|false
mb_convert_variables(string $to_encoding, array|string $from_encoding, mixed ...$vars, mixed $var)

Convert character code in variable(s)

string
mb_decode_mimeheader(string $string)

Decode string in MIME header field

string|false|null
mb_decode_numericentity(string $string, array $map, string|null $encoding = null, bool $is_hex = false)

Decode HTML numeric string reference to character

string|false
mb_detect_encoding(string $string, array|string|null $encodings = null, bool $strict = false)

Detect character encoding

array|bool
mb_detect_order(array|string|null $encoding = null)

Set/Get character encoding detection order

string
mb_encode_mimeheader(string $string, string|null $charset, string|null $transfer_encoding, string $newline = "\r\n", int $indent = 0)

Encode string for MIME header

string
mb_encode_numericentity(string $string, array $map, string|null $encoding = null, bool $hex = false)

Encode character to HTML numeric string reference

string[]|false
mb_encoding_aliases(string $encoding)

Get aliases of a known encoding type

bool
mb_ereg(string $pattern, string $string, string[] $matches)

Regular expression match with multibyte support

bool
mb_ereg_match(string $pattern, string $string, string|null $options)

Regular expression match for multibyte string

string|false|null
mb_ereg_replace(string $pattern, string $replacement, string $string, string|null $options = null)

Replace regular expression with multibyte support

string|false|null
mb_ereg_replace_callback(string $pattern, callable $callback, string $string, string|null $options = null)
Since: 5.4.1

Perform a regular expresssion seach and replace with multibyte support using a callback

int
mb_ereg_search_getpos()

Returns start point for next regular expression match

array|false
mb_ereg_search_getregs()

Retrieve the result from the last multibyte regular expression match

bool
mb_ereg_search_init(string $string, string|null $pattern, string|null $options)

Setup string and regular expression for a multibyte regular expression match

array|false
mb_ereg_search_pos(string|null $pattern, string|null $options)

Returns position and length of a matched part of the multibyte regular expression for a predefined multibyte string

array|false
mb_ereg_search_regs(string|null $pattern, string|null $options)

Returns the matched part of a multibyte regular expression

bool
mb_ereg_search_setpos(int $offset)

Set start point of next regular expression match

bool
mb_eregi(string $pattern, string $string, string[] $matches)

Regular expression match ignoring case with multibyte support

string|false|null
mb_eregi_replace(string $pattern, string $replacement, string $string, string|null $options = null)

Replace regular expression with multibyte support ignoring case

array|string|int|false
mb_get_info(string $type = 'all')

Get internal settings of mbstring

array|string|false
mb_http_input(string|null $type)

Detect HTTP input character encoding

string|bool
mb_http_output(string|null $encoding)

Set/Get HTTP output character encoding

string|bool
mb_internal_encoding(string|null $encoding)

Set/Get internal character encoding

string|bool
mb_language(string|null $language)

Set/Get current language

string
mb_lcfirst(string $string, string|null $encoding = null)
Since: 8.4

No description

array
mb_list_encodings()

Returns an array of all supported encodings

string
mb_ltrim(string $string, string|null $characters = null, string|null $encoding = null)
Since: 8.4

No description

int|false
mb_ord(string $string, string|null $encoding)
Since: 7.2

Get code point of character

string
mb_output_handler(string $string, int $status)

Callback function converts character encoding in output buffer

bool
mb_parse_str(string $string, array $result)

Parse GET/POST/COOKIE data and set global variable

string|false
mb_preferred_mime_name(string $encoding)

Get MIME charset string

string|bool
mb_regex_encoding(string|null $encoding)

Returns current encoding for multibyte regex as string

string
mb_regex_set_options(string|null $options)

Set/Get the default options for mbregex functions

string
mb_rtrim(string $string, string|null $characters = null, string|null $encoding = null)
Since: 8.4

No description

false|string
mb_scrub(string $string, string|null $encoding)
Since: 7.2

Scrub broken multibyte strings.

bool
mb_send_mail(string $to, string $subject, string $message, array|string $additional_headers = [], string|null $additional_params)

Send encoded mail

array|false
mb_split(string $pattern, string $string, int $limit = -1)

Split multibyte string using regular expression

string
mb_str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIGHT, string|null $encoding = null)
Since: 8.3

No description

string[]|false
mb_str_split(string $string, int $length = 1, string|null $encoding)
Since: 7.4

Function performs string splitting to an array of defined size chunks.

string
mb_strcut(string $string, int $start, int|null $length, string|null $encoding)

Get part of string

string
mb_strimwidth(string $string, int $start, int $width, string $trim_marker = '', string|null $encoding)

Get truncated string with specified width

int|false
mb_stripos(string $haystack, string $needle, int $offset = 0, string|null $encoding)

Finds position of first occurrence of a string within another, case insensitive

string|false
mb_stristr(string $haystack, string $needle, bool $before_needle = false, string|null $encoding)

Finds first occurrence of a string within another, case insensitive

int|false
mb_strlen(string $string, string|null $encoding)

Get string length

int|false
mb_strpos(string $haystack, string $needle, int $offset = 0, string|null $encoding)

Find position of first occurrence of string in a string

string|false
mb_strrchr(string $haystack, string $needle, bool $before_needle = false, string|null $encoding)

Finds the last occurrence of a character in a string within another

string|false
mb_strrichr(string $haystack, string $needle, bool $before_needle = false, string|null $encoding)

Finds the last occurrence of a character in a string within another, case insensitive

int|false
mb_strripos(string $haystack, string $needle, int $offset = 0, string|null $encoding)

Finds position of last occurrence of a string within another, case insensitive

int|false
mb_strrpos(string $haystack, string $needle, int $offset = 0, string|null $encoding)

Find position of last occurrence of a string in a string

string|false
mb_strstr(string $haystack, string $needle, bool $before_needle = false, string|null $encoding)

Finds first occurrence of a string within another

string
mb_strtolower(string $string, string|null $encoding)

Make a string lowercase

string
mb_strtoupper(string $string, string|null $encoding)

Make a string uppercase

int
mb_strwidth(string $string, string|null $encoding)

Return width of string

string|int|bool
mb_substitute_character(string|int|null $substitute_character = null)

Set/Get substitution character

string
mb_substr(string $string, int $start, int|null $length, string|null $encoding)

Get part of string

int
mb_substr_count(string $haystack, string $needle, string|null $encoding)

Count the number of substring occurrences

string
mb_trim(string $string, string|null $characters = null, string|null $encoding = null)
Since: 8.4

No description

string
mb_ucfirst(string $string, string|null $encoding = null)
Since: 8.4

No description

mbereg(string $pattern, string $string, array $registers)

No description

mbereg_match($pattern, $string, $option)

No description

mbereg_replace($pattern, $replacement, $string, $option)

No description

mbereg_search_getpos()

No description

mbereg_search_getregs()

No description

mbereg_search_init($string, $pattern, $option)

No description

mbereg_search_pos($pattern, $option)

No description

mbereg_search_regs($pattern, $option)

No description

mbereg_search_setpos($position)

No description

mberegi(string $pattern, string $string, array $registers)

No description

string
mberegi_replace($pattern, $replacement, $string, string $option = "msri")

No description

mbregex_encoding($encoding)

No description

mbsplit($pattern, $string, $limit)

No description

string
mcrypt_cbc(int|string $cipher, string $key, string $data, int $mode, string $iv = null)

Encrypt/decrypt data in CBC mode

string
mcrypt_cfb(int|string $cipher, string $key, string $data, int $mode, string $iv = null)

Encrypt/decrypt data in CFB mode

string|false
mcrypt_create_iv(int $size, int $source = MCRYPT_DEV_URANDOM)

Creates an initialization vector (IV) from a random source

string
mcrypt_decrypt(string $cipher, string $key, string $data, string $mode, string $iv = null)

Decrypts crypttext with given parameters

string
mcrypt_ecb(string|int $cipher, string $key, string $data, int $mode)

Encrypt/decrypt data in ECB mode

string
mcrypt_enc_get_algorithms_name(resource $td)

Returns the name of the opened algorithm

int
mcrypt_enc_get_block_size(resource $td)

Returns the blocksize of the opened algorithm

int
mcrypt_enc_get_iv_size(resource $td)

Returns the size of the IV of the opened algorithm

int
mcrypt_enc_get_key_size(resource $td)

Returns the maximum supported keysize of the opened mode

string
mcrypt_enc_get_modes_name(resource $td)

Returns the name of the opened mode

array
mcrypt_enc_get_supported_key_sizes(resource $td)

Returns an array with the supported keysizes of the opened algorithm

bool
mcrypt_enc_is_block_algorithm(resource $td)

Checks whether the algorithm of the opened mode is a block algorithm

bool
mcrypt_enc_is_block_algorithm_mode(resource $td)

Checks whether the encryption of the opened mode works on blocks

bool
mcrypt_enc_is_block_mode(resource $td)

Checks whether the opened mode outputs blocks

int
mcrypt_enc_self_test(resource $td)

Runs a self test on the opened module

string
mcrypt_encrypt(string $cipher, string $key, string $data, string $mode, string $iv = null)

Encrypts plaintext with given parameters

string
mcrypt_generic(resource $td, string $data)

This function encrypts data

bool
mcrypt_generic_deinit(resource $td)

This function deinitializes an encryption module

bool
mcrypt_generic_end(resource $td)

This function terminates encryption

int|false
mcrypt_generic_init(resource $td, string $key, string $iv)

This function initializes all buffers needed for encryption

int
mcrypt_get_block_size(string|int $cipher, string $module)

Get the block size of the specified cipher

string|false
mcrypt_get_cipher_name(int|string $cipher)

Get the name of the specified cipher

int|false
mcrypt_get_iv_size(string $cipher, string $module)

Returns the size of the IV belonging to a specific cipher/mode combination

int
mcrypt_get_key_size(int|string $cipher, string $module)

Get the key size of the specified cipher

array
mcrypt_list_algorithms(string $lib_dir = null)

Gets an array of all supported ciphers

array
mcrypt_list_modes(string $lib_dir = null)

Gets an array of all supported modes

bool
mcrypt_module_close(resource $td)

Closes the mcrypt module

int
mcrypt_module_get_algo_block_size(string $algorithm, string $lib_dir = null)

Returns the blocksize of the specified algorithm

int
mcrypt_module_get_algo_key_size(string $algorithm, string $lib_dir = null)

Returns the maximum supported keysize of the opened mode

array
mcrypt_module_get_supported_key_sizes(string $algorithm, string $lib_dir = null)

Returns an array with the supported keysizes of the opened algorithm

bool
mcrypt_module_is_block_algorithm(string $algorithm, string $lib_dir = null)

This function checks whether the specified algorithm is a block algorithm

bool
mcrypt_module_is_block_algorithm_mode(string $mode, string $lib_dir = null)

Returns if the specified module is a block algorithm or not

bool
mcrypt_module_is_block_mode(string $mode, string $lib_dir = null)

Returns if the specified mode outputs blocks or not

resource|false
mcrypt_module_open(string $cipher, string $cipher_directory, string $mode, string $mode_directory)

Opens the module of the algorithm and the mode to be used

bool
mcrypt_module_self_test(string $algorithm, string $lib_dir = null)

This function runs a self test on the specified module

string
mcrypt_ofb(int|string $cipher, string $key, string $data, int $mode, string $iv = null)

Encrypt/decrypt data in OFB mode

string
md5(string $string, bool $binary = false)

Calculate the md5 hash of a string

string|false
md5_file(string $filename, bool $binary = false)

Calculates the md5 hash of a given file

string
mdecrypt_generic(resource $td, string $data)

Decrypts data

memcache_add()

No description

memcache_add_server()

No description

memcache_append()

No description

memcache_cas()

No description

memcache_close()

No description

bool
memcache_connect(string $host, int $port, int $timeout = 1)

(PECL memcache >= 0.2.0)
Memcache::connect — Open memcached server connection

bool
memcache_debug(bool $on_off)

(PECL memcache >= 0.2.0)
Turn debug output on/off

memcache_decrement()

No description

memcache_delete()

No description

memcache_flush()

No description

memcache_get()

No description

memcache_get_extended_stats()

No description

memcache_get_server_status()

No description

memcache_get_stats()

No description

memcache_get_version()

No description

memcache_increment()

No description

memcache_pconnect(string $host, int|null $port = null, int $timeout = 1)

(PECL memcache >= 0.4.0) Memcache::pconnect — Open memcached server persistent connection

memcache_prepend()

No description

memcache_replace()

No description

memcache_set()

No description

memcache_set_compress_threshold()

No description

memcache_set_failure_callback()

No description

memcache_set_server_params()

No description

void
meminfo_dump(resource $stream)

No description

int
memory_get_peak_usage(bool $real_usage = false)

Returns the peak of memory allocated by PHP

int
memory_get_usage(bool $real_usage = false)

Returns the amount of memory allocated to PHP

void
memory_reset_peak_usage()
Since: 8.2

No description

string|false
metaphone(string $string, int $max_phonemes = 0)

Calculate the metaphone key of a string

string|false
mhash(int $algo, string $data, string|null $key)
deprecated

Computes hash

int
mhash_count()
deprecated

Gets the highest available hash ID

int|false
mhash_get_block_size(int $algo)
deprecated

Gets the block size of the specified hash

string|false
mhash_get_hash_name(int $algo)
deprecated

Gets the name of the specified hash

string|false
mhash_keygen_s2k(int $algo, string $password, string $salt, int $length)
deprecated

Generates a key

string|float
microtime(bool $as_float = false)

Return current Unix timestamp with microseconds

string|false
mime_content_type(resource|string $filename)

Detect MIME Content-type for a file

mixed
min(mixed $value, mixed ...$values)

Find lowest value

int
ming_keypress(string $char)

Returns the action flag for keyPress(char)

void
ming_setcubicthreshold(int $threshold)

Set cubic threshold

void
ming_setscale(float $scale)

Set the global scaling factor.

void
ming_setswfcompression(int $level)

Sets the SWF output compression

void
ming_useconstants(int $use)

Use constant pool

void
ming_useswfversion(int $version)

Sets the SWF version

bool
mkdir(string $directory, int $permissions = 0777, bool $recursive = false, resource $context)

Attempts to create the directory specified by pathname.

int|false
mktime(int $hour, int|null $minute = null, int|null $second = null, int|null $month = null, int|null $day = null, int|null $year = null, int $is_dst = -1)

Get Unix timestamp for a date

string|null
money_format(string $format, float $number)

Formats a number as a currency string

void
monitor_custom_event(string $class, string $text, int $severe = null, mixed $user_data = null)

Creates a custom event with class $class, text $text and possibly severity and other user data

void
monitor_httperror_event(int $error_code, string $url, int $severe = null)

Create an HTTPERROR event

array
monitor_license_info()

Returns an array containing information about

  • module loading status (and cause of error if module failed to load)
  • module license status (and cause of error if license not valid)

  • void
    monitor_pass_error(int $errno, string $errstr, string $errfile, int $errline)

    Should be called from a custom error handler to pass the error to the monitor.

    void
    monitor_set_aggregation_hint(string $hint)

    Limited in the database to 255 chars

    bool
    move_uploaded_file(string $from, string $to)

    Moves an uploaded file to a new location

    mqseries_back(resource $hconn, resource $compCode, resource $reason)

    No description

    mqseries_begin(resource $hconn, array $beginOptions, resource $compCode, resource $reason)

    No description

    mqseries_close(resource $hconn, resource $hobj, int $options, resource $compCode, resource $reason)

    No description

    mqseries_cmit(resource $hconn, resource $compCode, resource $reason)

    No description

    mqseries_conn(string $qManagerName, resource $hconn, resource $compCode, resource $reason)

    No description

    mqseries_connx(string $qManagerName, array $connOptions, resource $hconn, resource $compCode, resource $reason)

    No description

    mqseries_disc(resource $hconn, resource $compCode, resource $reason)

    No description

    mqseries_get(resource $hConn, resource $hObj, array $md, array $gmo, int $bufferLength, string $msg, int $data_length, resource $compCode, resource $reason)

    No description

    mqseries_inq(resource $hconn, resource $hobj, int $selectorCount, array $selectors, int $intAttrCount, resource $intAttr, int $charAttrLength, resource $charAttr, resource $compCode, resource $reason)

    No description

    mqseries_open(resource $hconn, array $objDesc, int $option, resource $hobj, resource $compCode, resource $reason)

    No description

    mqseries_put(resource $hConn, resource $hObj, array $md, array $pmo, string $message, resource $compCode, resource $reason)

    No description

    mqseries_put1(resource $hconn, resource $objDesc, resource $msgDesc, resource $pmo, string $buffer, resource $compCode, resource $reason)

    No description

    mqseries_set(resource $hconn, resource $hobj, int $selectorcount, array $selectors, int $intattrcount, array $intattrs, int $charattrlength, array $charattrs, resource $compCode, resource $reason)

    No description

    string
    mqseries_strerror(int $reason)

    No description

    ms_GetErrorObj()

    Returns a reference to the head of the list of errorObj.

    string
    ms_GetVersion()

    Returns the MapServer version and options in a string. This string can be parsed to find out which modules were compiled in, etc.

    int
    ms_GetVersionInt()

    Returns the MapServer version number (x.y.z) as an integer (x10000 + y100 + z). (New in v5.0) e.g. V5.4.3 would return 50403.

    void
    ms_ResetErrorList()

    Clear the current error list.

    array
    ms_TokenizeMap(string $map_file_name)

    Preparses a mapfile through the MapServer parser and return an array with one item for each token from the mapfile. Strings, logical expressions, regex expressions and comments are returned as individual tokens.

    int
    ms_iogetStdoutBufferBytes()

    Writes the current buffer to stdout. The PHP header() function should be used to set the documents's content-type prior to calling the function. Returns the number of bytes written if output is sent to stdout. See :ref:mapscript_ows for more info.

    void
    ms_iogetstdoutbufferstring()

    Fetch the current stdout buffer contents as a string. This method does not clear the buffer.

    void
    ms_ioinstallstdinfrombuffer()

    Installs a mapserver IO handler directing future stdin reading (ie. post request capture) to come from a buffer.

    void
    ms_ioinstallstdouttobuffer()

    Installs a mapserver IO handler directing future stdout output to a memory buffer.

    void
    ms_ioresethandlers()

    Resets the default stdin and stdout handlers in place of "buffer" based handlers.

    void
    ms_iostripstdoutbuffercontentheaders()

    Strip all the Content-* headers off the stdout buffer if it has some.

    string
    ms_iostripstdoutbuffercontenttype()

    Strip the Content-type header off the stdout buffer if it has one, and if a content type is found it is return. Otherwise return false.

    resource|SysvMessageQueue|false
    msg_get_queue(int $key, int $permissions = 0666)

    Create or attach to a message queue

    bool
    msg_queue_exists(int $key)

    Check whether a message queue exists

    bool
    msg_receive(SysvMessageQueue|resource $queue, int $desired_message_type, int $received_message_type, int $max_message_size, mixed $message, bool $unserialize = true, int $flags = 0, int $error_code)

    Receive a message from a message queue

    bool
    msg_remove_queue(SysvMessageQueue|resource $queue)

    Destroy a message queue

    bool
    msg_send(SysvMessageQueue|resource $queue, int $message_type, mixed $message, bool $serialize = true, bool $blocking = true, int $error_code)

    Send a message to a message queue

    bool
    msg_set_queue(SysvMessageQueue|resource $queue, array $data)

    Set information in the message queue data structure

    array|false
    msg_stat_queue(SysvMessageQueue|resource $queue)

    Returns information from the message queue data structure

    msgfmt_create(string $locale, string $pattern)

    Constructs a new message formatter

    string|false
    msgfmt_format(MessageFormatter $formatter, array $values)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Format the message

    string|false
    msgfmt_format_message(string $locale, string $pattern, array $values)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Quick format message

    int
    msgfmt_get_error_code(MessageFormatter $formatter)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get the error code from last operation

    string
    msgfmt_get_error_message(MessageFormatter $formatter)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get the error text from the last operation

    string
    msgfmt_get_locale(MessageFormatter $formatter)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get the locale for which the formatter was created.

    string|false
    msgfmt_get_pattern(MessageFormatter $formatter)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get the pattern used by the formatter

    array|false
    msgfmt_parse(MessageFormatter $formatter, string $string)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Parse input string according to pattern

    array|false
    msgfmt_parse_message(string $locale, string $pattern, string $message)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Quick parse input string

    bool
    msgfmt_set_pattern(MessageFormatter $formatter, string $pattern)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Set the pattern used by the formatter

    string
    msgpack_pack(mixed $value)

    Alias of msgpack_serialize

    string
    msgpack_serialize(mixed $value)

    Serialize a variable into msgpack format

    mixed
    msgpack_unpack(string $str, null|array|string|object $object = null)

    Alias of msgpack_unserialize

    mixed
    msgpack_unserialize(string $str, null|array|string|object $object = null)

    Unserialize $str

    bool
    mssql_bind(resource $stmt, string $param_name, mixed $var, int $type, bool $is_output = false, bool $is_null = false, int $maxlen = -1)

    (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
    Adds a parameter to a stored procedure or a remote stored procedure

    bool
    mssql_close(resource $link_identifier = null)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Close MS SQL Server connection

    resource|false
    mssql_connect(string $servername = null, string $username = null, string $password = null, bool $new_link = false)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Open MS SQL server connection

    bool
    mssql_data_seek(resource $result_identifier, int $row_number)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Moves internal row pointer

    mixed
    mssql_execute(resource $stmt, bool $skip_results = false)

    (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
    Executes a stored procedure on a MS SQL server database

    array|false
    mssql_fetch_array(resource $result, int $result_type = MSSQL_BOTH)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Fetch a result row as an associative array, a numeric array, or both

    array
    mssql_fetch_assoc(resource $result_id)

    (PHP 4 >= 4.2.0, PHP 5, PECL odbtp >= 1.1.1)
    Returns an associative array of the current row in the result

    int
    mssql_fetch_batch(resource $result)

    (PHP 4 >= 4.0.4, PHP 5, PECL odbtp >= 1.1.1)
    Returns the next batch of records

    object
    mssql_fetch_field(resource $result, int $field_offset = -1)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Get field information

    object
    mssql_fetch_object(resource $result)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Fetch row as object

    array|false
    mssql_fetch_row(resource $result)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Get row as enumerated array

    int|false
    mssql_field_length(resource $result, int $offset = null)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Get the length of a field

    string|false
    mssql_field_name(resource $result, int $offset = -1)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Get the name of a field

    bool
    mssql_field_seek(resource $result, int $field_offset)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Seeks to the specified field offset

    string|false
    mssql_field_type(resource $result, int $offset = -1)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Gets the type of a field

    bool
    mssql_free_result(resource $result)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Free result memory

    bool
    mssql_free_statement(resource $stmt)

    (PHP 4 >= 4.3.2, PHP 5, PECL odbtp >= 1.1.1)
    Free statement memory

    string
    mssql_get_last_message()

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Returns the last message from the server

    string
    mssql_guid_string(string $binary, bool $short_format = null)

    (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
    Converts a 16 byte binary GUID to a string

    resource|false
    mssql_init(string $sp_name, resource $link_identifier = null)

    (PHP 4 >= 4.0.7, PHP 5, PECL odbtp >= 1.1.1)
    Initializes a stored procedure or a remote stored procedure

    void
    mssql_min_error_severity(int $severity)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Sets the minimum error severity

    void
    mssql_min_message_severity(int $severity)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Sets the minimum message severity

    bool
    mssql_next_result(resource $result_id)

    (PHP 4 >= 4.0.5, PHP 5, PECL odbtp >= 1.1.1)
    Move the internal result pointer to the next result

    int
    mssql_num_fields(resource $result)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Gets the number of fields in result

    int
    mssql_num_rows(resource $result)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Gets the number of rows in result

    resource|false
    mssql_pconnect(string $servername = null, string $username = null, string $password = null, bool $new_link = false)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Open persistent MS SQL connection

    resource|bool
    mssql_query(string $query, resource $link_identifier = null, int $batch_size = 0)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Send MS SQL query

    string
    mssql_result(resource $result, int $row, mixed $field)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Get result data

    int
    mssql_rows_affected(resource $link_identifier)

    (PHP 4 >= 4.0.4, PHP 5, PECL odbtp >= 1.1.1)
    Returns the number of records affected by the query

    bool
    mssql_select_db(string $database_name, resource $link_identifier = null)

    (PHP 4, PHP 5, PECL odbtp >= 1.1.1)
    Select MS SQL database

    int
    mt_getrandmax()

    Show largest possible random value

    int
    mt_rand(int $min, int $max)

    Generate a random value via the Mersenne Twister Random Number Generator

    void
    mt_srand(int|null $seed = null, int $mode = MT_RAND_MT19937)

    Seeds the Mersenne Twister Random Number Generator

    mysql($database_name, $query, $link_identifier)

    No description

    int
    mysql_affected_rows(resource $link_identifier = null)

    Get number of affected rows in previous MySQL operation

    string
    mysql_client_encoding(resource $link_identifier = null)

    Returns the name of the character set

    bool
    mysql_close(resource $link_identifier = null)

    Close MySQL connection

    resource|false
    mysql_connect(string $server = 'ini_get("mysql.default_host")', string $username = 'ini_get("mysql.default_user")', string $password = 'ini_get("mysql.default_password")', bool $new_link = false, int $client_flags = 0)

    Open a connection to a MySQL Server

    bool
    mysql_data_seek(resource $result, int $row_number)

    Move internal result pointer

    string|false
    mysql_db_name(resource $result, int $row, mixed $field = null)

    Retrieves database name from the call to {mysql_list_dbs}

    resource|bool
    mysql_db_query(string $database, string $query, resource $link_identifier = null)

    Selects a database and executes a query on it

    mysql_dbname($result, $row, $field)

    No description

    int
    mysql_errno(resource $link_identifier = null)

    Returns the numerical value of the error message from previous MySQL operation

    string
    mysql_error(resource $link_identifier = null)

    Returns the text of the error message from previous MySQL operation

    string
    mysql_escape_string(string $unescaped_string)

    Escapes a string for use in a mysql_query

    array|false
    mysql_fetch_array(resource $result, int $result_type = MYSQL_BOTH)

    Fetch a result row as an associative array, a numeric array, or both

    array
    mysql_fetch_assoc(resource $result)

    Fetch a result row as an associative array

    object
    mysql_fetch_field(resource $result, int $field_offset = 0)

    Get column information from a result and return as an object

    array|false
    mysql_fetch_lengths(resource $result)

    Get the length of each output in a result

    mysql_fetch_object(resource $result, T> $class_name = 'stdClass', array $params = null)

    No description

    array
    mysql_fetch_row(resource $result)

    Get a result row as an enumerated array

    string|false
    mysql_field_flags(resource $result, int $field_offset)

    Get the flags associated with the specified field in a result

    int|false
    mysql_field_len(resource $result, int $field_offset)

    Returns the length of the specified field

    string|false
    mysql_field_name(resource $result, int $field_offset)

    Get the name of the specified field in a result

    bool
    mysql_field_seek(resource $result, int $field_offset)

    Set result pointer to a specified field offset

    string
    mysql_field_table(resource $result, int $field_offset)

    Get name of the table the specified field is in

    string
    mysql_field_type(resource $result, int $field_offset)

    Get the type of the specified field in a result

    mysql_fieldflags($result, $field_offset)

    No description

    mysql_fieldlen($result, $field_offset)

    No description

    mysql_fieldname($result, $field_index)

    No description

    mysql_fieldtable($result, $field_offset)

    No description

    mysql_fieldtype($result, $field_offset)

    No description

    bool
    mysql_free_result(resource $result)

    Free result memory

    mysql_freeresult($result)

    No description

    string
    mysql_get_client_info()

    Get MySQL client info

    string
    mysql_get_host_info(resource $link_identifier = null)

    Get MySQL host info

    int|false
    mysql_get_proto_info(resource $link_identifier = null)

    Get MySQL protocol info

    string|false
    mysql_get_server_info(resource $link_identifier = null)

    Get MySQL server info

    string|false
    mysql_info(resource $link_identifier = null)

    Get information about the most recent query

    int
    mysql_insert_id(resource $link_identifier = null)

    Get the ID generated in the last query

    resource|false
    mysql_list_dbs(resource $link_identifier = null)

    List databases available on a MySQL server

    resource|false
    mysql_list_fields(string $database_name, string $table_name, resource $link_identifier = null)

    List MySQL table fields

    resource|false
    mysql_list_processes(resource $link_identifier = null)

    List MySQL processes

    resource|false
    mysql_list_tables(string $database, resource $link_identifier = null)

    List tables in a MySQL database

    mysql_listdbs($link_identifier)

    No description

    mysql_listfields($database_name, $table_name, $link_identifier)

    No description

    mysql_listtables($database_name, $link_identifier)

    No description

    int
    mysql_num_fields(resource $result)

    Get number of fields in result

    int|false
    mysql_num_rows(resource $result)

    Get number of rows in result

    mysql_numfields($result)

    No description

    int|false
    mysql_numrows(resource $result)

    (PHP 4, PHP 5) Alias of mysql_num_rows()

    resource|false
    mysql_pconnect(string $server = 'ini_get("mysql.default_host")', string $username = 'ini_get("mysql.default_user")', string $password = 'ini_get("mysql.default_password")', int $client_flags = null)

    Open a persistent connection to a MySQL server

    bool
    mysql_ping(resource $link_identifier = null)

    Ping a server connection or reconnect if there is no connection

    resource|bool
    mysql_query(string $query, resource $link_identifier = null)

    Send a MySQL query

    string|false
    mysql_real_escape_string(string $unescaped_string, resource $link_identifier = null)

    Escapes special characters in a string for use in an SQL statement

    string
    mysql_result(resource $result, int $row, mixed $field = 0)

    Get result data

    bool
    mysql_select_db(string $database_name, resource $link_identifier = null)

    Select a MySQL database

    mysql_selectdb($database_name, $link_identifier)

    No description

    bool
    mysql_set_charset(string $charset, resource $link_identifier = null)
    Since: 5.2.3

    Sets the client character set

    string
    mysql_stat(resource $link_identifier = null)

    Get current system status

    mysql_table_name($result, $row, $field)

    No description

    string|false
    mysql_tablename(resource $result, int $i)

    Get table name of field

    int|false
    mysql_thread_id(resource $link_identifier = null)

    Return the current thread ID

    resource|bool
    mysql_unbuffered_query(string $query, resource $link_identifier = null)
    deprecated

    No description

    string|int
    mysqli_affected_rows(mysqli $mysql)

    Gets the number of affected rows in a previous MySQL operation

    bool
    mysqli_autocommit(mysqli $mysql, bool $enable)

    Turns on or off auto-committing database modifications

    bool
    mysqli_begin_transaction(mysqli $mysql, int $flags = 0, string|null $name)
    Since: 5.5

    Starts a transaction

    mysqli_bind_param(mysqli_stmt $statement, string $types)

    Alias for mysqli_stmt_bind_param

    mysqli_bind_result(mysqli_stmt $statement, string $types, mixed $var1)

    Alias for mysqli_stmt_bind_result

    bool
    mysqli_change_user(mysqli $mysql, string $username, string $password, string|null $database)

    Changes the user of the specified database connection

    string
    mysqli_character_set_name(mysqli $mysql)

    Returns the current character set of the database connection

    string
    mysqli_client_encoding(mysqli $mysql)

    Alias of mysqli_character_set_name

    bool
    mysqli_close(mysqli $mysql)

    Closes a previously opened database connection

    bool
    mysqli_commit(mysqli $mysql, int $flags = 0, string|null $name = null)

    Commits the current transaction

    mysqli|false
    mysqli_connect(string|null $hostname = null, string|null $username = null, string|null $password = null, string|null $database = null, int|null $port = null, string|null $socket = null)

    Open a new connection to the MySQL server Alias of mysqli::__construct

    int
    mysqli_connect_errno()

    Returns the error code from last connect call

    string|null
    mysqli_connect_error()

    Returns a string description of the last connect error

    bool
    mysqli_data_seek(mysqli_result $result, int $offset)

    Adjusts the result pointer to an arbitrary row in the result

    bool
    mysqli_debug(string $options)

    Performs debugging operations using the Fred Fish debugging library.

    bool
    mysqli_dump_debug_info(mysqli $mysql)

    Dump debugging information into the log

    int
    mysqli_errno(mysqli $mysql)

    Returns the error code for the most recent function call

    string
    mysqli_error(mysqli $mysql)

    Returns a string description of the last error

    array
    mysqli_error_list(mysqli $mysql)
    Since: 5.4

    Returns a list of errors from the last command executed

    string
    mysqli_escape_string(mysqli $mysql, string $string, $resultmode = null)

    Alias of mysqli_real_escape_string

    bool
    mysqli_execute(mysqli_stmt $statement, array|null $params = null)

    Executes a prepared statement Alias for mysqli_stmt_execute

    mysqli_result|bool
    mysqli_execute_query(mysqli $mysql, string $query, array|null $params = null)
    Since: 8.2

    Prepares the SQL query, binds parameters, and executes it. The mysqli::execute_query() method is a shortcut for mysqli::prepare(), mysqli_stmt::bind_param(), mysqli_stmt::execute(), and mysqli_stmt::get_result().

    The statement template can contain zero or more question mark (?) parameter markers⁠—also called placeholders. The parameter values must be provided as an array using params parameter.

    A prepared statement is created under the hood but it's never exposed outside of the function. It's impossible to access properties of the statement as one would do with the mysqli_stmt object. Due to this limitation, the status information is copied to the mysqli object and is available using its methods, e.g. mysqli_affected_rows() or mysqli_error().

    bool
    mysqli_fetch(mysqli_stmt $statement)

    Alias for mysqli_stmt_fetch

    array
    mysqli_fetch_all(mysqli_result $result, int $mode = MYSQLI_NUM)

    Fetch all result rows as an associative array, a numeric array, or both

    array|false|null
    mysqli_fetch_array(mysqli_result $result, int $mode = MYSQLI_BOTH)

    Fetch the next row of a result set as an associative, a numeric array, or both

    array|null|false
    mysqli_fetch_assoc(mysqli_result $result)

    Fetch the next row of a result set as an associative array

    string|int|float|false|null
    mysqli_fetch_column(mysqli_result $result, int $column = 0)

    Fetch a single column from the next row of a result set

    object|false
    mysqli_fetch_field(mysqli_result $result)

    Returns the next field in the result set

    object|false
    mysqli_fetch_field_direct(mysqli_result $result, int $index)

    Fetch meta-data for a single field

    array
    mysqli_fetch_fields(mysqli_result $result)

    Returns an array of objects representing the fields in a result set

    array|false
    mysqli_fetch_lengths(mysqli_result $result)

    Returns the lengths of the columns of the current row in the result set

    object|null|false
    mysqli_fetch_object(mysqli_result $result, string $class = 'stdClass', array $constructor_args = [])

    No description

    array|false|null
    mysqli_fetch_row(mysqli_result $result)

    Fetch the next row of a result set as an enumerated array

    int
    mysqli_field_count(mysqli $mysql)

    Returns the number of columns for the most recent query

    mysqli_field_seek(mysqli_result $result, int $index)

    Set result pointer to a specified field offset

    int
    mysqli_field_tell(mysqli_result $result)

    Get current field offset of a result pointer

    void
    mysqli_free_result(mysqli_result $result)

    Frees the memory associated with a result

    array|false
    mysqli_get_cache_stats(mysqli $mysql)

    Returns client Zval cache statistics Available only with mysqlnd.

    object|null
    mysqli_get_charset(mysqli $mysql)

    Returns a character set object

    string|null
    mysqli_get_client_info(mysqli|null $mysql = null)

    Get MySQL client info

    array
    mysqli_get_client_stats()

    Returns client per-process statistics

    int
    mysqli_get_client_version($link)

    Returns the MySQL client version as an integer

    array
    mysqli_get_connection_stats(mysqli $mysql)

    Returns statistics about the client connection

    string
    mysqli_get_host_info(mysqli $mysql)

    Returns a string representing the type of connection used

    false|mysqli_result
    mysqli_get_metadata(mysqli_stmt $statement)

    Alias for mysqli_stmt_result_metadata

    int
    mysqli_get_proto_info(mysqli $mysql)

    Returns the version of the MySQL protocol used

    string
    mysqli_get_server_info(mysqli $mysql)

    Returns the version of the MySQL server

    int
    mysqli_get_server_version(mysqli $mysql)

    Returns the version of the MySQL server as an integer

    mysqli_warning|false
    mysqli_get_warnings(mysqli $mysql)

    Get result of SHOW WARNINGS

    string|null
    mysqli_info(mysqli $mysql)

    Retrieves information about the most recently executed query

    mysqli|false
    mysqli_init()

    Initializes MySQLi and returns a resource for use with mysqli_real_connect()

    string|int
    mysqli_insert_id(mysqli $mysql)

    Returns the value generated for an AUTO_INCREMENT column by the last query

    bool
    mysqli_kill(mysqli $mysql, int $process_id)

    Asks the server to kill a MySQL thread

    bool
    mysqli_more_results(mysqli $mysql)

    Check if there are any more query results from a multi query

    bool
    mysqli_multi_query(mysqli $mysql, string $query)

    Performs one or more queries on the database

    bool
    mysqli_next_result(mysqli $mysql)

    Prepare next result from multi_query

    int
    mysqli_num_fields(mysqli_result $result)

    Gets the number of fields in the result set

    string|int
    mysqli_num_rows(mysqli_result $result)

    Gets the number of rows in a result

    bool
    mysqli_options(mysqli $mysql, int $option, string|int $value)

    Set options

    int
    mysqli_param_count(mysqli_stmt $statement)

    Alias for mysqli_stmt_param_count

    bool
    mysqli_ping(mysqli $mysql)

    Pings a server connection, or tries to reconnect if the connection has gone down

    int|false
    mysqli_poll(array|null $read, array|null $error, array $reject, int $seconds, int $microseconds = 0)

    Poll connections

    mysqli_stmt|false
    mysqli_prepare(mysqli $mysql, string $query)

    Prepares an SQL statement for execution

    mysqli_result|bool
    mysqli_query(mysqli $mysql, string $query, int $result_mode = MYSQLI_STORE_RESULT)

    Performs a query on the database

    bool
    mysqli_real_connect(mysqli $mysql, string|null $hostname, string|null $username, string|null $password, string|null $database, int|null $port, string|null $socket, int $flags = 0)

    Opens a connection to a mysql server

    string
    mysqli_real_escape_string(mysqli $mysql, string $string)

    Escapes special characters in a string for use in an SQL statement, taking into account the current charset of the connection

    bool
    mysqli_real_query(mysqli $mysql, string $query)

    Execute an SQL query

    mysqli_result|bool
    mysqli_reap_async_query(mysqli $mysql)

    Get result from async query Available only with mysqlnd.

    bool
    mysqli_refresh(mysqli $mysql, int $flags)

    Flushes tables or caches, or resets the replication server information

    bool
    mysqli_release_savepoint(mysqli $mysql, string $name)
    Since: 5.5

    Removes the named savepoint from the set of savepoints of the current transaction

    bool
    mysqli_report(int $flags)

    Enables or disables internal report functions

    bool
    mysqli_rollback(mysqli $mysql, int $flags = 0, string|null $name)

    Rolls back current transaction

    bool
    mysqli_savepoint(mysqli $mysql, string $name)
    Since: 5.5

    Set a named transaction savepoint

    bool
    mysqli_select_db(mysqli $mysql, string $database)

    Selects the default database for database queries

    bool
    mysqli_send_long_data(mysqli_stmt $statement, int $param_num, string $data)

    Alias for mysqli_stmt_send_long_data

    bool
    mysqli_set_charset(mysqli $mysql, string $charset)

    Sets the client character set

    void
    mysqli_set_local_infile_default(mysqli $mysql)

    Unsets user defined handler for load local infile command

    bool
    mysqli_set_local_infile_handler(mysqli $mysql, callable $read_func)

    Set callback function for LOAD DATA LOCAL INFILE command

    bool
    mysqli_set_opt(mysqli $mysql, int $option, string|int $value)

    Alias of mysqli_options

    string
    mysqli_sqlstate(mysqli $mysql)

    Returns the SQLSTATE error from previous MySQL operation

    bool
    mysqli_ssl_set(mysqli $mysql, string|null $key, string|null $certificate, string|null $ca_certificate, string|null $ca_path, string|null $cipher_algos)

    Used for establishing secure connections using SSL

    string|false
    mysqli_stat(mysqli $mysql)

    Gets the current system status

    string|int
    mysqli_stmt_affected_rows(mysqli_stmt $statement)

    Returns the total number of rows changed, deleted, inserted, or matched by the last statement executed

    false|int
    mysqli_stmt_attr_get(mysqli_stmt $statement, int $attribute)

    Used to get the current value of a statement attribute

    bool
    mysqli_stmt_attr_set(mysqli_stmt $statement, int $attribute, int $value)

    Used to modify the behavior of a prepared statement

    bool
    mysqli_stmt_bind_param(mysqli_stmt $statement, string $types, mixed ...$vars)

    Binds variables to a prepared statement as parameters

    bool
    mysqli_stmt_bind_result(mysqli_stmt $statement, mixed ...$vars)

    Binds variables to a prepared statement for result storage

    bool
    mysqli_stmt_close(mysqli_stmt $statement)

    Closes a prepared statement

    void
    mysqli_stmt_data_seek(mysqli_stmt $statement, int $offset)

    Seeks to an arbitrary row in statement result set

    int
    mysqli_stmt_errno(mysqli_stmt $statement)

    Returns the error code for the most recent statement call

    string
    mysqli_stmt_error(mysqli_stmt $statement)

    Returns a string description for last statement error

    array
    mysqli_stmt_error_list(mysqli_stmt $statement)
    Since: 5.4

    Returns a list of errors from the last statement executed

    bool
    mysqli_stmt_execute(mysqli_stmt $statement, array|null $params = null)

    Executes a prepared statement

    bool|null
    mysqli_stmt_fetch(mysqli_stmt $statement)

    Fetch results from a prepared statement into the bound variables

    int
    mysqli_stmt_field_count(mysqli_stmt $statement)

    Returns the number of fields in the given statement

    void
    mysqli_stmt_free_result(mysqli_stmt $statement)

    Frees stored result memory for the given statement handle

    mysqli_result|false
    mysqli_stmt_get_result(mysqli_stmt $statement)

    Gets a result set from a prepared statement as a mysqli_result object

    mysqli_warning|false
    mysqli_stmt_get_warnings(mysqli_stmt $statement)

    Get result of SHOW WARNINGS

    mysqli_stmt|false
    mysqli_stmt_init(mysqli $mysql)

    Initializes a statement and returns an object for use with mysqli_stmt_prepare

    string|int
    mysqli_stmt_insert_id(mysqli_stmt $statement)

    Get the ID generated from the previous INSERT operation

    bool
    mysqli_stmt_more_results(mysqli_stmt $statement)

    Check if there are more query results from a multiple query

    bool
    mysqli_stmt_next_result(mysqli_stmt $statement)

    Reads the next result from a multiple query

    string|int
    mysqli_stmt_num_rows(mysqli_stmt $statement)

    Return the number of rows in statements result set

    int
    mysqli_stmt_param_count(mysqli_stmt $statement)

    Returns the number of parameter for the given statement

    bool
    mysqli_stmt_prepare(mysqli_stmt $statement, string $query)

    Prepares an SQL statement for execution

    bool
    mysqli_stmt_reset(mysqli_stmt $statement)

    Resets a prepared statement

    mysqli_result|false
    mysqli_stmt_result_metadata(mysqli_stmt $statement)

    Returns result set metadata from a prepared statement

    bool
    mysqli_stmt_send_long_data(mysqli_stmt $statement, int $param_num, string $data)

    Send data in blocks

    string
    mysqli_stmt_sqlstate(mysqli_stmt $statement)

    Returns SQLSTATE error from previous statement operation

    bool
    mysqli_stmt_store_result(mysqli_stmt $statement)

    Transfers a result set from a prepared statement

    mysqli_result|false
    mysqli_store_result(mysqli $mysql, int $mode = 0)

    Transfers a result set from the last query

    int
    mysqli_thread_id(mysqli $mysql)

    Returns the thread ID for the current connection

    bool
    mysqli_thread_safe()

    Returns whether thread safety is given or not

    mysqli_result|false
    mysqli_use_result(mysqli $mysql)

    Initiate a result set retrieval

    int
    mysqli_warning_count(mysqli $mysql)

    Returns the number of warnings from the last query for the given link

    natcasesort(array $array)

    Sort an array using a case insensitive "natural order" algorithm

    natsort(array $array)

    Sort an array using a "natural order" algorithm

    int
    ncurses_addch(int $ch)

    Add character at current position and advance cursor

    int
    ncurses_addchnstr(string $s, int $n)

    Add attributed string with specified length at current position

    int
    ncurses_addchstr(string $s)

    Add attributed string at current position

    int
    ncurses_addnstr(string $s, int $n)

    Add string with specified length at current position

    int
    ncurses_addstr(string $text)

    Output text at current position

    int
    ncurses_assume_default_colors(int $fg, int $bg)

    Define default colors for color 0

    int
    ncurses_attroff(int $attributes)

    Turn off the given attributes

    int
    ncurses_attron(int $attributes)

    Turn on the given attributes

    int
    ncurses_attrset(int $attributes)

    Set given attributes

    int
    ncurses_baudrate()

    Returns baudrate of terminal

    int
    ncurses_beep()

    Let the terminal beep

    int
    ncurses_bkgd(int $attrchar)

    Set background property for terminal screen

    void
    ncurses_bkgdset(int $attrchar)

    Control screen background

    int
    ncurses_border(int $left, int $right, int $top, int $bottom, int $tl_corner, int $tr_corner, int $bl_corner, int $br_corner)

    Draw a border around the screen using attributed characters

    int
    ncurses_bottom_panel(resource $panel)

    Moves a visible panel to the bottom of the stack

    bool
    ncurses_can_change_color()

    Check if we can change terminals colors

    bool
    ncurses_cbreak()

    Switch of input buffering

    bool
    ncurses_clear()

    Clear screen

    bool
    ncurses_clrtobot()

    Clear screen from current position to bottom

    bool
    ncurses_clrtoeol()

    Clear screen from current position to end of line

    int
    ncurses_color_content(int $color, int $r, int $g, int $b)

    Gets the RGB value for color

    int
    ncurses_color_set(int $pair)

    Set fore- and background color

    int
    ncurses_curs_set(int $visibility)

    Set cursor state

    bool
    ncurses_def_prog_mode()

    Saves terminals (program) mode

    bool
    ncurses_def_shell_mode()

    Saves terminals (shell) mode

    int
    ncurses_define_key(string $definition, int $keycode)

    Define a keycode

    bool
    ncurses_del_panel(resource $panel)

    Remove panel from the stack and delete it (but not the associated window)

    int
    ncurses_delay_output(int $milliseconds)

    Delay output on terminal using padding characters

    bool
    ncurses_delch()

    Delete character at current position, move rest of line left

    bool
    ncurses_deleteln()

    Delete line at current position, move rest of screen up

    bool
    ncurses_delwin(resource $window)

    Delete a ncurses window

    bool
    ncurses_doupdate()

    Write all prepared refreshes to terminal

    bool
    ncurses_echo()

    Activate keyboard input echo

    int
    ncurses_echochar(int $character)

    Single character output including refresh

    int
    ncurses_end()

    Stop using ncurses, clean up the screen

    bool
    ncurses_erase()

    Erase terminal screen

    string
    ncurses_erasechar()

    Returns current erase character

    void
    ncurses_filter()

    Set LINES for iniscr() and newterm() to 1

    bool
    ncurses_flash()

    Flash terminal screen (visual bell)

    bool
    ncurses_flushinp()

    Flush keyboard input buffer

    int
    ncurses_getch()

    Read a character from keyboard

    void
    ncurses_getmaxyx(resource $window, int $y, int $x)

    Returns the size of a window

    bool
    ncurses_getmouse(array $mevent)

    Reads mouse event

    void
    ncurses_getyx(resource $window, int $y, int $x)

    Returns the current cursor position for a window

    int
    ncurses_halfdelay(int $tenth)

    Put terminal into halfdelay mode

    bool
    ncurses_has_colors()

    Check if terminal has colors

    bool
    ncurses_has_ic()

    Check for insert- and delete-capabilities

    bool
    ncurses_has_il()

    Check for line insert- and delete-capabilities

    int
    ncurses_has_key(int $keycode)

    Check for presence of a function key on terminal keyboard

    int
    ncurses_hide_panel(resource $panel)

    Remove panel from the stack, making it invisible

    int
    ncurses_hline(int $charattr, int $n)

    Draw a horizontal line at current position using an attributed character and max. n characters long

    string
    ncurses_inch()

    Get character and attribute at current position

    void
    ncurses_init()

    Initialize ncurses

    int
    ncurses_init_color(int $color, int $r, int $g, int $b)

    Set new RGB value for color

    int
    ncurses_init_pair(int $pair, int $fg, int $bg)

    Allocate a color pair

    int
    ncurses_insch(int $character)

    Insert character moving rest of line including character at current position

    int
    ncurses_insdelln(int $count)

    Insert lines before current line scrolling down (negative numbers delete and scroll up)

    int
    ncurses_insertln()

    Insert a line, move rest of screen down

    int
    ncurses_insstr(string $text)

    Insert string at current position, moving rest of line right

    int
    ncurses_instr(string $buffer)

    Reads string from terminal screen

    bool
    ncurses_isendwin()

    Ncurses is in endwin mode, normal screen output may be performed

    int
    ncurses_keyok(int $keycode, bool $enable)

    Enable or disable a keycode

    int
    ncurses_keypad(resource $window, bool $bf)

    Turns keypad on or off

    string
    ncurses_killchar()

    Returns current line kill character

    string|null
    ncurses_longname()

    Returns terminals description

    int
    ncurses_meta(resource $window, $bit8)

    Enables/Disable 8-bit meta key information

    bool
    ncurses_mouse_trafo(int $y, int $x, bool $toscreen)

    Transforms coordinates

    int
    ncurses_mouseinterval(int $milliseconds)

    Set timeout for mouse button clicks

    int
    ncurses_mousemask(int $newmask, int $oldmask)

    Sets mouse options

    int
    ncurses_move(int $y, int $x)

    Move output position

    int
    ncurses_move_panel(resource $panel, int $startx, int $starty)

    Moves a panel so that its upper-left corner is at [startx, starty]

    int
    ncurses_mvaddch(int $y, int $x, int $c)

    Move current position and add character

    int
    ncurses_mvaddchnstr(int $y, int $x, string $s, int $n)

    Move position and add attributed string with specified length

    int
    ncurses_mvaddchstr(int $y, int $x, string $s)

    Move position and add attributed string

    int
    ncurses_mvaddnstr(int $y, int $x, string $s, int $n)

    Move position and add string with specified length

    int
    ncurses_mvaddstr(int $y, int $x, string $s)

    Move position and add string

    int
    ncurses_mvcur(int $old_y, int $old_x, int $new_y, int $new_x)

    Move cursor immediately

    int
    ncurses_mvdelch(int $y, int $x)

    Move position and delete character, shift rest of line left

    int
    ncurses_mvgetch(int $y, int $x)

    Move position and get character at new position

    int
    ncurses_mvhline(int $y, int $x, int $attrchar, int $n)

    Set new position and draw a horizontal line using an attributed character and max. n characters long

    int
    ncurses_mvinch(int $y, int $x)

    Move position and get attributed character at new position

    int
    ncurses_mvwaddstr(resource $window, int $y, int $x, string $text)

    Add string at new position in window

    int
    ncurses_napms(int $milliseconds)

    Sleep

    resource
    ncurses_new_panel(resource $window)

    Create a new panel and associate it with window

    resource
    ncurses_newpad(int $rows, int $cols)

    Creates a new pad (window)

    resource
    ncurses_newwin(int $rows, int $cols, int $y, int $x)

    Create a new window

    bool
    ncurses_nl()

    Translate newline and carriage return / line feed

    bool
    ncurses_nocbreak()

    Switch terminal to cooked mode

    bool
    ncurses_noecho()

    Switch off keyboard input echo

    bool
    ncurses_nonl()

    Do not translate newline and carriage return / line feed

    void
    ncurses_noqiflush()

    Do not flush on signal characters

    bool
    ncurses_noraw()

    Switch terminal out of raw mode

    int
    ncurses_pair_content(int $pair, int $f, int $b)

    Gets the RGB value for color

    resource
    ncurses_panel_above(resource $panel)

    Returns the panel above panel

    resource
    ncurses_panel_below(resource $panel)

    Returns the panel below panel

    resource
    ncurses_panel_window(resource $panel)

    Returns the window associated with panel

    int
    ncurses_pnoutrefresh(resource $pad, int $pminrow, int $pmincol, int $sminrow, int $smincol, int $smaxrow, int $smaxcol)

    Copies a region from a pad into the virtual screen

    int
    ncurses_prefresh(resource $pad, int $pminrow, int $pmincol, int $sminrow, int $smincol, int $smaxrow, int $smaxcol)

    Copies a region from a pad into the virtual screen

    int
    ncurses_putp(string $text)

    Apply padding information to the string and output it

    void
    ncurses_qiflush()

    Flush on signal characters

    bool
    ncurses_raw()

    Switch terminal into raw mode

    int
    ncurses_refresh(int $ch)

    Refresh screen

    int
    ncurses_replace_panel(resource $panel, resource $window)

    Replaces the window associated with panel

    int
    ncurses_reset_prog_mode()

    Resets the prog mode saved by def_prog_mode

    int
    ncurses_reset_shell_mode()

    Resets the shell mode saved by def_shell_mode

    bool
    ncurses_resetty()

    Restores saved terminal state

    bool
    ncurses_savetty()

    Saves terminal state

    int
    ncurses_scr_dump(string $filename)

    Dump screen content to file

    int
    ncurses_scr_init(string $filename)

    Initialize screen from file dump

    int
    ncurses_scr_restore(string $filename)

    Restore screen from file dump

    int
    ncurses_scr_set(string $filename)

    Inherit screen from file dump

    int
    ncurses_scrl(int $count)

    Scroll window content up or down without changing current position

    int
    ncurses_show_panel(resource $panel)

    Places an invisible panel on top of the stack, making it visible

    int
    ncurses_slk_attr()

    Returns current soft label key attribute

    int
    ncurses_slk_attroff(int $intarg)

    Turn off the given attributes for soft function-key labels

    int
    ncurses_slk_attron(int $intarg)

    Turn on the given attributes for soft function-key labels

    int
    ncurses_slk_attrset(int $intarg)

    Set given attributes for soft function-key labels

    bool
    ncurses_slk_clear()

    Clears soft labels from screen

    int
    ncurses_slk_color(int $intarg)

    Sets color for soft label keys

    bool
    ncurses_slk_init(int $format)

    Initializes soft label key functions

    bool
    ncurses_slk_noutrefresh()

    Copies soft label keys to virtual screen

    int
    ncurses_slk_refresh()

    Copies soft label keys to screen

    int
    ncurses_slk_restore()

    Restores soft label keys

    bool
    ncurses_slk_set(int $labelnr, string $label, int $format)

    Sets function key labels

    int
    ncurses_slk_touch()

    Forces output when ncurses_slk_noutrefresh is performed

    int
    ncurses_standend()

    Stop using 'standout' attribute

    int
    ncurses_standout()

    Start using 'standout' attribute

    int
    ncurses_start_color()

    Start using colors

    bool
    ncurses_termattrs()

    Returns a logical OR of all attribute flags supported by terminal

    string|null
    ncurses_termname()

    Returns terminals (short)-name

    void
    ncurses_timeout(int $millisec)

    Set timeout for special key sequences

    int
    ncurses_top_panel(resource $panel)

    Moves a visible panel to the top of the stack

    int
    ncurses_typeahead(int $fd)

    Specify different filedescriptor for typeahead checking

    int
    ncurses_ungetch(int $keycode)

    Put a character back into the input stream

    bool
    ncurses_ungetmouse(array $mevent)

    Pushes mouse event to queue

    void
    ncurses_update_panels()

    Refreshes the virtual screen to reflect the relations between panels in the stack

    bool
    ncurses_use_default_colors()

    Assign terminal default colors to color id -1

    void
    ncurses_use_env(bool $flag)

    Control use of environment information about terminal size

    int
    ncurses_use_extended_names(bool $flag)

    Control use of extended names in terminfo descriptions

    int
    ncurses_vidattr(int $intarg)

    Display the string on the terminal in the video attribute mode

    int
    ncurses_vline(int $charattr, int $n)

    Draw a vertical line at current position using an attributed character and max. n characters long

    int
    ncurses_waddch(resource $window, int $ch)

    Adds character at current position in a window and advance cursor

    int
    ncurses_waddstr(resource $window, string $str, int $n = null)

    Outputs text at current position in window

    int
    ncurses_wattroff(resource $window, int $attrs)

    Turns off attributes for a window

    int
    ncurses_wattron(resource $window, int $attrs)

    Turns on attributes for a window

    int
    ncurses_wattrset(resource $window, int $attrs)

    Set the attributes for a window

    int
    ncurses_wborder(resource $window, int $left, int $right, int $top, int $bottom, int $tl_corner, int $tr_corner, int $bl_corner, int $br_corner)

    Draws a border around the window using attributed characters

    int
    ncurses_wclear(resource $window)

    Clears window

    int
    ncurses_wcolor_set(resource $window, int $color_pair)

    Sets windows color pairings

    int
    ncurses_werase(resource $window)

    Erase window contents

    int
    ncurses_wgetch(resource $window)

    Reads a character from keyboard (window)

    int
    ncurses_whline(resource $window, int $charattr, int $n)

    Draws a horizontal line in a window at current position using an attributed character and max. n characters long

    bool
    ncurses_wmouse_trafo(resource $window, int $y, int $x, bool $toscreen)

    Transforms window/stdscr coordinates

    int
    ncurses_wmove(resource $window, int $y, int $x)

    Moves windows output position

    int
    ncurses_wnoutrefresh(resource $window)

    Copies window to virtual screen

    int
    ncurses_wrefresh(resource $window)

    Refresh window on terminal screen

    int
    ncurses_wstandend(resource $window)

    End standout mode for a window

    int
    ncurses_wstandout(resource $window)

    Enter standout mode for a window

    int
    ncurses_wvline(resource $window, int $charattr, int $n)

    Draws a vertical line in a window at current position using an attributed character and max. n characters long

    array|false
    net_get_interfaces()
    Since: 7.3

    No description

    bool
    newrelic_accept_distributed_trace_headers(array $headers, string $transport_type = 'HTTP')
    Since: 9.8

    Accepts an array of distributed trace headers.

    void
    newrelic_accept_distributed_trace_payload(string $payload)
    deprecated Since: 8.4

    Accepts a distributed trace payload.

    bool
    newrelic_accept_distributed_trace_payload_httpsafe(string $httpsafe_payload, string $transport_type = 'HTTP')
    deprecated Since: 8.4

    Accepts a distributed trace payload that includes an HTTPSafe (Base64 encoded) JSON string.

    bool
    newrelic_add_custom_parameter(string $key, bool|float|int|string $value)
    Since: 4.4.5.35

    Attaches a custom attribute (key/value pair) to the current transaction and the current span (if enabled).

    bool
    newrelic_add_custom_span_parameter(string $key, bool|float|int|string $value)
    Since: 9.12.0.268

    Attaches a custom attribute (key/value pair) to the current span.

    bool
    newrelic_add_custom_tracer(string $functionName)

    Specify functions or methods for the agent to instrument with custom instrumentation.

    void
    newrelic_background_job(bool $flag = true)

    Manually specify that a transaction is a background job or a web transaction.

    void
    newrelic_capture_params(bool $enable_flag = true)

    Enable or disable the capture of URL parameters.

    newrelic_create_distributed_trace_payload()
    deprecated Since: 8.4

    Creates a distributed trace payload.

    bool
    newrelic_custom_metric(string $metric_name, float $value)

    Add a custom metric (in milliseconds) to time a component of your app not captured by default.

    bool|null
    newrelic_disable_autorum()

    Disable automatic injection of the browser monitoring snippet on particular pages.

    newrelic_enable_params()

    No description

    void
    newrelic_end_of_transaction()

    Stop timing the current transaction, but continue instrumenting it.

    bool
    newrelic_end_transaction(bool $ignore = false)
    Since: 3.0.5.95

    Stop instrumenting the current transaction immediately.

    string
    newrelic_get_browser_timing_header(bool $includeTags = true)

    Returns a browser monitoring snippet to inject in the head of your HTML output.

    array
    newrelic_get_linking_metadata()

    Returns a collection of metadata necessary for linking data to a trace or an entity.

    array
    newrelic_get_trace_metadata()

    Returns an associative array containing the identifiers of the current trace and the parent span.

    void
    newrelic_ignore_apdex()

    Ignore the current transaction when calculating Apdex.

    void
    newrelic_ignore_transaction()

    Do not instrument the current transaction.

    bool
    newrelic_insert_distributed_trace_headers(array $headers)
    Since: 9.8

    Inserts W3C Trace Context headers and New Relic Distributed Tracing headers into an outbound array of headers.

    bool
    newrelic_is_sampled()
    Since: 9.3

    Returns a value indicating whether or not the current transaction is marked as sampled.

    bool
    newrelic_name_transaction(string $name)

    Set custom name for current transaction.

    null
    newrelic_notice_error(string|Throwable|Exception|int $messageOrExceptionOrCode, string|Throwable|Exception $errstrOrException = null, string $errfile = null, int $errline = null, string $errcontext = null)
    Since: 2.6

    Use these calls to collect errors that the PHP agent does not collect automatically and to set the callback for your own error and exception handler.

    void
    newrelic_record_custom_event(string $name, array $attributes)
    Since: 4.18.0.89

    Record a custom event with the given name and attributes

    mixed
    newrelic_record_datastore_segment(callable $func, array $parameters)
    Since: 7.5.0.199

    Records a datastore segment.

    bool
    newrelic_set_appname(string $name, string $license, bool $xmit = false)
    Since: 3.1.5.111

    Set the New Relic application name, which the New Relic UI uses to connect your data to the correct application.

    bool
    newrelic_set_user_attributes(string $user_value, string $account_value, string $product_value)
    Since: 3.1.5.111

    Create user-related custom attributes. newrelic_add_custom_parameter is more flexible.

    bool
    newrelic_set_user_id(string $user_id)
    Since: 10.12

    Associate a unique user ID with the current transaction.

    bool
    newrelic_start_transaction(string $appname, string $license = null)
    Since: 3.0.5.95

    Start a new transaction manually. Usually used after manually ending a transaction with newrelic_end_transaction(), for example when separating tasks in a job queue manager. When instrumenting this new transaction, the agent performs the same operations as when the script first started.

    mixed
    next(object|array $array)

    Advance the internal array pointer of an array

    string
    ngettext(string $singular, string $plural, int $count)

    Plural version of gettext

    string
    nl2br(string $string, bool $use_xhtml = true)

    Inserts HTML line breaks before all newlines in a string

    string|false
    nl_langinfo(int $item)

    Query language and locale information

    string|null
    normalizer_get_raw_decomposition(string $string, int $form = Normalizer::FORM_C)
    Since: 7.3

    Gets the Decomposition_Mapping property for the given UTF-8 encoded code point

    bool
    normalizer_is_normalized(string $string, int $form = Normalizer::FORM_C)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Checks if the provided string is already in the specified normalization form.

    string|false
    normalizer_normalize(string $string, int $form = Normalizer::FORM_C)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Normalizes the input provided and returns the normalized string

    string
    number_format(float $num, int $decimals = 0, string|null $decimal_separator = '.', string|null $thousands_separator = ',')

    Format a number with grouped thousands

    numfmt_create(string $locale, int $style, string|null $pattern = null)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Create a number formatter

    string|false
    numfmt_format(NumberFormatter $formatter, int|float $num, int $type = 0)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Format a number

    string|false
    numfmt_format_currency(NumberFormatter $formatter, float $amount, string $currency)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Format a currency value

    int|float|false
    numfmt_get_attribute(NumberFormatter $formatter, int $attribute)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get an attribute

    int
    numfmt_get_error_code(NumberFormatter $formatter)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get formatter's last error code.

    string
    numfmt_get_error_message(NumberFormatter $formatter)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get formatter's last error message.

    string|false
    numfmt_get_locale(NumberFormatter $formatter, int $type = 0)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get formatter locale

    string|false
    numfmt_get_pattern(NumberFormatter $formatter)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get formatter pattern

    string|false
    numfmt_get_symbol(NumberFormatter $formatter, int $symbol)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get a symbol value

    string|false
    numfmt_get_text_attribute(NumberFormatter $formatter, int $attribute)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Get a text attribute

    int|float|false
    numfmt_parse(NumberFormatter $formatter, string $string, int $type = NumberFormatter::TYPE_DOUBLE, int $offset = null)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Parse a number

    float|false
    numfmt_parse_currency(NumberFormatter $formatter, string $string, string $currency, int $offset = null)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Parse a currency number

    bool
    numfmt_set_attribute(NumberFormatter $formatter, int $attribute, int|float $value)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Set an attribute

    bool
    numfmt_set_pattern(NumberFormatter $formatter, string $pattern)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Set formatter pattern

    bool
    numfmt_set_symbol(NumberFormatter $formatter, int $symbol, string $value)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Set a symbol value

    bool
    numfmt_set_text_attribute(NumberFormatter $formatter, int $attribute, string $value)

    (PHP 5 >= 5.3.0, PECL intl >= 1.0.0)
    Set a text attribute

    string
    oauth_get_sbs(string $http_method, string $uri, array $request_parameters = [])

    Generate a Signature Base String

    string
    oauth_urlencode(string $uri)

    Encode a URI to RFC 3986

    bool
    ob_clean()

    Clean (erase) the output buffer

    string
    ob_deflatehandler(string $data, int $mode)

    (PECL pecl_http >= 0.21.0)
    Deflate output handler

    bool
    ob_end_clean()

    Clean (erase) the output buffer and turn off output buffering

    bool
    ob_end_flush()

    Flush (send) the output buffer and turn off output buffering

    string
    ob_etaghandler(string $data, int $mode)

    (PECL pecl_http >= 0.10.0)
    ETag output handler

    bool
    ob_flush()

    Flush (send) the output buffer

    string|false
    ob_get_clean()

    Get current buffer contents and delete current output buffer

    string|false
    ob_get_contents()

    Return the contents of the output buffer

    string|false
    ob_get_flush()

    Flush the output buffer, return it as a string and turn off output buffering

    int|false
    ob_get_length()

    Return the length of the output buffer

    int
    ob_get_level()

    Return the nesting level of the output buffering mechanism

    array
    ob_get_status(bool $full_status = false)

    Get status of output buffers

    string|false
    ob_gzhandler(string $data, int $flags)

    ob_start callback function to gzip output buffer

    string
    ob_iconv_handler(string $contents, int $status)

    Convert character encoding as output buffer handler

    void
    ob_implicit_flush(int|bool $enable = true)

    Turn implicit flush on/off

    string
    ob_inflatehandler(string $data, int $mode)

    (PECL pecl_http >= 0.21.0)
    Inflate output handler

    array
    ob_list_handlers()

    List all output handlers in use

    bool
    ob_start(callable|null $callback = null, int $chunk_size = 0, int $flags = PHP_OUTPUT_HANDLER_STDFLAGS)

    Turn on output buffering

    string
    ob_tidyhandler(string $input, int $mode = null)

    ob_start callback function to repair the buffer

    bool
    oci_bind_array_by_name(resource $statement, string $name, array $var_array, int $max_table_length, int $max_item_length = -1, int $type = SQLT_AFC)

    (PHP 5 >= 5.1.2, PECL OCI8 >= 1.2.0)
    Binds a PHP array to an Oracle PL/SQL array parameter

    bool
    oci_bind_by_name(resource $statement, string $bv_name, mixed $variable, int $maxlength = -1, int $type = SQLT_CHR)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Binds a PHP variable to an Oracle placeholder

    bool
    oci_cancel(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Cancels reading from cursor

    string
    oci_client_version()

    (PHP 5.3.7, PECL OCI8 >= 1.4.6)
    Returns the Oracle client library version

    bool
    oci_close(resource $connection)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Closes an Oracle connection

    bool
    oci_commit(resource $connection)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Commits the outstanding database transaction

    resource|false
    oci_connect(string $username, string $password, string $connection_string = null, string $character_set = null, int $session_mode = null)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Connect to an Oracle database

    bool
    oci_define_by_name(resource $statement, string $column_name, mixed $variable, int $type = SQLT_CHR)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Associates a PHP variable with a column for query fetches

    array|false
    oci_error(resource $resource = null)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the last error found

    bool
    oci_execute(resource $statement, int $mode = OCI_COMMIT_ON_SUCCESS)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Executes a statement

    bool
    oci_fetch(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Fetches the next row from a query into internal buffers

    int|false
    oci_fetch_all(resource $statement, array $output, int $skip = 0, int $maxrows = -1, int $flags = OCI_FETCHSTATEMENT_BY_COLUMN | OCI_ASSOC)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Fetches multiple rows from a query into a two-dimensional array

    array|false
    oci_fetch_array(resource $statement, int $mode = null)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the next row from a query as an associative or numeric array

    array|false
    oci_fetch_assoc(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the next row from a query as an associative array

    object|false
    oci_fetch_object(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the next row from a query as an object

    array|false
    oci_fetch_row(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the next row from a query as a numeric array

    bool
    oci_field_is_null(resource $statement, mixed $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Checks if a field in the currently fetched row NULL

    string|false
    oci_field_name(resource $statement, string|int $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the name of a field from the statement

    int|false
    oci_field_precision(resource $statement, string|int $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Tell the precision of a field

    int|false
    oci_field_scale(resource $statement, string|int $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Tell the scale of the field

    int|false
    oci_field_size(resource $statement, mixed $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns field's size

    mixed
    oci_field_type(resource $statement, string|int $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns field's data type

    int|false
    oci_field_type_raw(resource $statement, int $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Tell the raw Oracle data type of the field

    bool
    oci_free_cursor($statement_resource)

    Alias of {oci_free_statement()}

    bool
    oci_free_descriptor(resource $descriptor)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Frees a descriptor

    bool
    oci_free_statement(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Frees all resources associated with statement or cursor

    resource|false
    oci_get_implicit_resultset(resource $statement)

    (PECL OCI8 >= 2.0.0)
    Returns the next child statement resource from a parent statement resource that has Oracle Database 12c Implicit Result Sets

    void
    oci_internal_debug(bool $onoff)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Enables or disables internal debug output

    bool
    oci_lob_copy(OCI_Lob $lob_to, OCI_Lob $lob_from, int $length = 0)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Copies large object

    bool
    oci_lob_is_equal(OCI_Lob $lob1, OCI_Lob $lob2)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Compares two LOB/FILE locators for equality

    oci_new_collection(resource $connection, string $tdo, string $schema = null)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Allocates new collection object

    resource|false
    oci_new_connect(string $username, string $password, string $connection_string = null, string $character_set = null, int $session_mode = null)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Connect to the Oracle server using a unique connection

    resource|false
    oci_new_cursor(resource $connection)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Allocates and returns a new cursor (statement handle)

    OCI_Lob|OCILob|false
    oci_new_descriptor(resource $connection, int $type = OCI_DTYPE_LOB)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Initializes a new empty LOB or FILE descriptor

    int|false
    oci_num_fields(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the number of result columns in a statement

    int|false
    oci_num_rows(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns number of rows affected during statement execution

    resource|false
    oci_parse(resource $connection, string $sql_text)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Prepares an Oracle statement for execution

    bool
    oci_password_change(resource $connection, string $username, string $old_password, string $new_password)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Changes password of Oracle's user

    resource|false
    oci_pconnect(string $username, string $password, string $connection_string = null, string $character_set = null, int $session_mode = null)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Connect to an Oracle database using a persistent connection

    bool
    oci_register_taf_callback(resource $connection, mixed $callbackFn)
    Since: 7.2

    Register a user-defined callback function for Oracle Database TAF.

    mixed
    oci_result(resource $statement, mixed $field)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns field's value from the fetched row

    bool
    oci_rollback(resource $connection)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Rolls back the outstanding database transaction

    string|false
    oci_server_version(resource $connection)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the Oracle Database version

    bool
    oci_set_action(resource $connection, string $action_name)

    (PHP 5.3.2, PECL OCI8 >= 1.4.0)
    Sets the action name

    bool
    oci_set_call_timeout(resource $connection, int $time_out)

    (PHP 7.2 >= 7.2.14, PHP 8, PHP 7 >= 7.3.1, PHP 8, PECL OCI8 >= 2.2.0)
    Sets a millisecond timeout for database calls

    bool
    oci_set_client_identifier(resource $connection, string $client_identifier)

    (PHP 5.3.2, PECL OCI8 >= 1.4.0)
    Sets the client identifier

    bool
    oci_set_client_info(resource $connection, string $client_info)

    (PHP 5.3.2, PECL OCI8 >= 1.4.0)
    Sets the client information

    bool
    oci_set_db_operation(resource $connection, string $dbop)

    (PHP 7 >== 7.2.14, PHP 8, PHP 7 >= 7.3.1, PHP 8, PECL OCI8 >= 2.2.0) Sets the database operation

    bool
    oci_set_edition(string $edition)

    (PHP 5.3.2, PECL OCI8 >= 1.4.0)
    Sets the database edition

    bool
    oci_set_module_name(resource $connection, string $module_name)

    (PHP 5.3.2, PECL OCI8 >= 1.4.0)
    Sets the module name

    bool
    oci_set_prefetch(resource $statement, int $rows)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Sets number of rows to be prefetched by queries

    bool
    oci_set_prefetch_lob(resource $statement, int $prefetch_lob_size)
    Since: 8.2

    Sets the size of the LOB column that will be prefetched by OCI8 when executing a query.

    string|false
    oci_statement_type(resource $statement)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Returns the type of a statement

    bool
    oci_unregister_taf_callback(resource $connection)
    Since: 7.2

    Unregister a user-defined callback function for Oracle Database TAF.

    bool
    ocibindbyname(resource $statement, string $column_name, mixed $variable, int $maximum_length = -1, int $type = SQLT_CHR)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_bind_by_name}

    bool
    ocicancel(resource $statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_cancel}

    bool
    ocicloselob(OCI_Lob|OCILob $lob_descriptor)

    (PHP 4 >= 4.0.6, PECL OCI8 1.0) Alias of {OCI-Lob::close()}

    bool
    ocicollappend(OCI_Collection $collection, mixed $value)

    (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of (OCI_Collection::append)

    bool
    ocicollassign(OCI_Collection $to, OCI_Collection $from)

    (PHP 4 >= 4.0.6, PECL OCI8 1.0) Alias of {OCI-Collection::assign()} Assigns a value to the collection from another existing collection

    bool
    ocicollassignelem(OCI_Collection $collection, $index, $value)

    (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_Collection::assignElem}

    mixed
    ocicollgetelem(OCI_Collection $collection, int $index)

    (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_COLLection::getElem}

    int|false
    ocicollmax(OCI_Collection $collection)

    (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_COLLection::max}

    int|false
    ocicollsize(OCI_Collection $collection)

    (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_COLLection::size}

    bool
    ocicolltrim(OCI_Collection $collection, int|float $number)

    (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_Collection::trim}

    bool
    ocicolumnisnull(resource $statement, mixed $column_number_or_name)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_field_is_null}

    string|false
    ocicolumnname(resource $statement, mixed $column_number)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_field_name}

    int|false
    ocicolumnprecision(resource $statement_resource, string|int $column_number)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_field_precision}

    int|false
    ocicolumnscale(resource $statement_resource, $column_number)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_field_scale}

    int|false
    ocicolumnsize(resource $statement, mixed $column_number_or_name)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_field_size}

    mixed|false
    ocicolumntype(resource $statement_resource, string|int $column_number)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_field_type}

    int|false
    ocicolumntyperaw(resource $statement_resource, string|int $column_number)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_field_type_raw}

    bool
    ocicommit($connection_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_commit}

    bool
    ocidefinebyname(resource $statement, string $column_name, mixed $variable, int $type = SQLT_CHR)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_define_by_name}

    array|false
    ocierror(resource $connection_or_statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_error}

    bool
    ociexecute($statement_resource, $mode = OCI_COMMIT_ON_SUCCESS)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_execute}

    bool
    ocifetch(resource $statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_fetch}

    int|bool
    ocifetchinto(resource $statement_resource, array $result, int $mode = null)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Obsolete variant of {oci_fetch_array}, {oci_fetch_object}, {@see oci_fetch_assoc} and {oci_fetch_row}

    int|false
    ocifetchstatement(resource $statement_resource, array $output, int $skip, int $maximum_rows, int $flags)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_fetch_all}

    bool
    ocifreecollection(OCI_Collection|OCICollection $collection)

    (PHP 4 >= 4.0.7, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_Collection::free}

    bool
    ocifreecursor(resource $statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_free_statement}

    bool
    ocifreedesc($lob_descriptor)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI-Lob::free}

    bool
    ocifreestatement(resource $statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_free_statement}

    ociinternaldebug(bool $mode)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_internal_debug}

    string|false
    ociloadlob(OCI_Lob|OCILob $lob_descriptor)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_Lob::load}

    bool
    ocilogoff(resource $connection_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_close}

    resource|false
    ocilogon(string $username, string $password, string $connection_string, string $character_set, int $session_mode)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_connect}

    ocinewcollection($connection_resource, $tdo, $schema = null)

    (PHP 4 >= 4.0.6, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_new_collection}

    resource|false
    ocinewcursor(resource $connection_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_new_cursor}

    OCI_LOB|false
    ocinewdescriptor(resource $connection_resource, $type = OCI_DTYPE_LOB)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_new_descriptor}

    resource|false
    ocinlogon($username, $password, $connection_string, $character_set, $session_mode)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_new_connect}

    int|false
    ocinumcols(resource $statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_num_fields}

    resource|false
    ociparse(resource $connection_resource, string $sql_text)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_parse}

    resource|bool
    ocipasswordchange(resource|string $connection_resource_or_connection_string_or_dbname, string $username, string $old_password, string $new_password)

    (PHP 5, PECL OCI8 >= 1.1.0)
    Changes password of Oracle's user

    resource|false
    ociplogon(string $username, string $password, $connection_string, $character_set, $session_mode)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_pconnect}

    false|mixed
    ociresult(resource $statement_resource, $column_number_or_name)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_result}

    bool
    ocirollback(resource $connection_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_rollback}

    int|false
    ocirowcount(resource $statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_num_rows}

    bool
    ocisavelob(OCI_Lob|OCILob $lob_descriptor, string $data, int $offset)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI-Lob::save}

    bool
    ocisavelobfile(OCI_Lob|OCILob $lob_descriptor, string $filename)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_Lob::import}

    string|false
    ociserverversion($connection_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_server_version}

    bool
    ocisetprefetch(resource $statement_resource, $number_of_rows)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_set_prefetch}

    string|false
    ocistatementtype(resource $statement_resource)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {oci_statement_type}

    bool
    ociwritelobtofile(OCI_Lob|OCILob $lob_descriptor, string $filename, int $start, int $length)

    (PHP 4, PHP 5, PECL OCI8 >= 1.0.0)
    Alias of {OCI_Lob::export}

    bool
    ociwritetemporarylob(OCI_Lob|OCILob $lob_descriptor, string $data, int $lob_type = OCI_TEMP_CLOB)

    (PHP 4 >= 4.0.6, PECL OCI8 1.0) Writes a temporary large object Alias of {OCI-Lob::writeTemporary()}

    int|float
    octdec(string $octal_string)

    Octal to decimal

    int|bool
    odbc_autocommit(resource $odbc, bool|null $enable = false)

    Toggle autocommit behaviour

    bool
    odbc_binmode(resource $statement, int $mode)

    Handling of binary column data

    void
    odbc_close(resource $odbc)

    Close an ODBC connection

    void
    odbc_close_all()

    Close all ODBC connections

    resource|false
    odbc_columnprivileges(resource $odbc, string|null $catalog, string $schema, string $table, string $column)

    Lists columns and associated privileges for the given table

    resource|false
    odbc_columns(resource $odbc, string|null $catalog = null, string|null $schema = null, string|null $table = null, string|null $column = null)

    Lists the column names in specified tables

    bool
    odbc_commit(resource $odbc)

    Commit an ODBC transaction

    resource|false
    odbc_connect(string $dsn, string $user, string $password, int $cursor_option = SQL_CUR_USE_DRIVER)

    Connect to a datasource

    bool
    odbc_connection_string_is_quoted(string $str)

    No description

    string
    odbc_connection_string_quote(string $str)

    No description

    bool
    odbc_connection_string_should_quote(string $str)

    No description

    string|false
    odbc_cursor(resource $statement)

    Get cursorname

    array|false|null
    odbc_data_source(resource $odbc, int $fetch_type)

    Returns information about a current connection

    odbc_do($odbc, string $query)

    Alias of odbc_exec

    string
    odbc_error(resource $odbc = null)

    Get the last error code

    string
    odbc_errormsg(resource $odbc = null)

    Get the last error message

    resource|false
    odbc_exec(resource $odbc, string $query, int $flags = null)

    Prepare and execute an SQL statement

    bool
    odbc_execute(resource $statement, array $params = [])

    Execute a prepared statement

    array|false
    odbc_fetch_array(resource $statement, int $row = -1)

    Fetch a result row as an associative array

    int|false
    odbc_fetch_into(resource $statement, array $array, int $row = 0)

    Fetch one result row into array

    stdClass|false
    odbc_fetch_object(resource $statement, int $row = -1)

    Fetch a result row as an object

    bool
    odbc_fetch_row(resource $statement, int|null $row = null)

    Fetch a row

    int|false
    odbc_field_len(resource $statement, int $field)

    Get the length (precision) of a field

    string|false
    odbc_field_name(resource $statement, int $field)

    Get the columnname

    int|false
    odbc_field_num(resource $statement, string $field)

    Return column number

    int|false
    odbc_field_precision($statement, int $field)

    Alias of odbc_field_len

    int|false
    odbc_field_scale(resource $statement, int $field)

    Get the scale of a field

    string|false
    odbc_field_type(resource $statement, int $field)

    Datatype of a field

    resource|false
    odbc_foreignkeys(resource $odbc, string|null $pk_catalog, string $pk_schema, string $pk_table, string $fk_catalog, string $fk_schema, string $fk_table)

    Retrieves a list of foreign keys

    bool
    odbc_free_result(resource $statement)

    Free resources associated with a result

    resource|false
    odbc_gettypeinfo(resource $odbc, int $data_type = 0)

    Retrieves information about data types supported by the data source

    bool
    odbc_longreadlen(resource $statement, int $length)

    Handling of LONG columns

    bool
    odbc_next_result(resource $statement)

    Checks if multiple results are available

    int
    odbc_num_fields(resource $statement)

    Number of columns in a result

    int
    odbc_num_rows(resource $statement)

    Number of rows in a result

    resource|false
    odbc_pconnect(string $dsn, string $user, string $password, int $cursor_option = SQL_CUR_USE_DRIVER)

    Open a persistent database connection

    resource|false
    odbc_prepare(resource $odbc, string $query)

    Prepares a statement for execution

    resource|false
    odbc_primarykeys(resource $odbc, string|null $catalog, string $schema, string $table)

    Gets the primary keys for a table

    resource|false
    odbc_procedurecolumns(resource $odbc, string|null $catalog = null, string|null $schema = null, string|null $procedure = null, string|null $column = null)

    Retrieve information about parameters to procedures

    resource|false
    odbc_procedures(resource $odbc, string|null $catalog = null, string|null $schema = null, string|null $procedure = null)

    Get the list of procedures stored in a specific data source

    string|bool|null
    odbc_result(resource $statement, string|int $field)

    Get result data

    int|false
    odbc_result_all(resource $statement, string $format = '')
    deprecated

    Print result as HTML table

    bool
    odbc_rollback(resource $odbc)

    Rollback a transaction

    bool
    odbc_setoption(resource $odbc, int $which, int $option, int $value)

    Adjust ODBC settings

    resource|false
    odbc_specialcolumns(resource $odbc, int $type, string|null $catalog, string $schema, string $table, int $scope, int $nullable)

    Retrieves special columns

    resource|false
    odbc_statistics(resource $odbc, string|null $catalog, string $schema, string $table, int $unique, int $accuracy)

    Retrieve statistics about a table

    resource|false
    odbc_tableprivileges(resource $odbc, string|null $catalog, string $schema, string $table)

    Lists tables and the privileges associated with each table

    resource|false
    odbc_tables(resource $odbc, string|null $catalog = null, string|null $schema = null, string|null $table = null, string|null $types = null)

    Get the list of table names stored in a specific data source

    bool
    opcache_compile_file(string $filename)
    Since: 5.5

    (PHP 5 >= 5.5.5, PECL ZendOpcache >= 7.0.2 )
    Compiles and caches a PHP script without executing it

    array|false
    opcache_get_configuration()
    Since: 5.5

    (PHP 5 >= 5.5.5, PECL ZendOpcache >= 7.0.2 )
    Get configuration information about the cache

    array|false
    opcache_get_status(bool $include_scripts = true)
    Since: 5.5

    (PHP 5 >= 5.5.5, PECL ZendOpcache >= 7.0.2 )
    Get status information about the cache

    bool
    opcache_invalidate(string $filename, bool $force = false)
    Since: 5.5

    (PHP 5 >= 5.5.0, PECL ZendOpcache >= 7.0.0 )
    Invalidates a cached script

    bool
    opcache_is_script_cached(string $filename)
    Since: 5.6

    (PHP 5 >= 5.6, PECL ZendOpcache >= 7.0.4 )
    This function checks if a PHP script has been cached in OPCache.

    void
    opcache_jit_blacklist(Closure $closure)
    Since: 8.4

    No description

    bool
    opcache_reset()
    Since: 5.5

    (PHP 5 >= 5.5.0, PECL ZendOpcache >= 7.0.0 )
    Resets the contents of the opcode cache

    resource|false
    opendir(string $directory, resource $context)

    Open directory handle

    bool
    openlog(string $prefix, int $flags, int $facility)

    Open connection to system logger

    int|false
    openssl_cipher_iv_length(string $cipher_algo)

    (PHP 5 >= PHP 5.3.3)
    Gets the cipher iv length

    int|false
    openssl_cipher_key_length(string $cipher_algo)
    Since: 8.2

    This function works in exactly the same way as openssl_cipher_iv_length but for a key length. This is especially useful to make sure that the right key length is provided to openssl_encrypt and openssl_decrypt.

    bool
    openssl_cms_decrypt(string $input_filename, string $output_filename, resource|string $certificate, resource|string|array $private_key = null, int $encoding = OPENSSL_ENCODING_SMIME)
    Since: 8.0

    Decrypts the S/MIME message in the file and outputs the results to the supplied file.

    bool
    openssl_cms_encrypt(string $input_filename, string $output_filename, resource|string|array $certificate, array|null $headers, int $flags = 0, int $encoding = OPENSSL_ENCODING_SMIME, int $cipher_algo = OPENSSL_CIPHER_AES_128_CBC)
    Since: 8.0

    Encrypts the message in the file with the certificates and outputs the result to the supplied file.

    bool
    openssl_cms_read(string $input_filename, array $certificates)
    Since: 8.0

    Exports the CMS file to an array of PEM certificates.

    bool
    openssl_cms_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string $certificate, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, array|null $headers, int $flags = 0, int $encoding = OPENSSL_ENCODING_SMIME, string|null $untrusted_certificates_filename)
    Since: 8.0

    Signs the MIME message in the file with a cert and key and output the result to the supplied file.

    bool
    openssl_cms_verify(string $input_filename, int $flags = 0, string|null $certificates, array $ca_info = [], string|null $untrusted_certificates_filename, string|null $content, string|null $pk7, string|null $sigfile, int $encoding = OPENSSL_ENCODING_SMIME)
    Since: 8.0

    Verifies that the data block is intact, the signer is who they say they are, and returns the certs of the signers.

    bool
    openssl_csr_export(OpenSSLCertificateSigningRequest|string|resource $csr, string $output, bool $no_text = true)

    Exports a CSR as a string

    bool
    openssl_csr_export_to_file(OpenSSLCertificateSigningRequest|string|resource $csr, string $output_filename, bool $no_text = true)

    Exports a CSR to a file

    OpenSSLAsymmetricKey|resource|false
    openssl_csr_get_public_key(OpenSSLCertificateSigningRequest|string|resource $csr, bool $short_names = true)

    Returns the public key of a CERT

    array|false
    openssl_csr_get_subject(OpenSSLCertificateSigningRequest|string|resource $csr, bool $short_names = true)

    Returns the subject of a CERT

    openssl_csr_new(array $distinguished_names, OpenSSLAsymmetricKey $private_key, array|null $options, array|null $extra_attributes)

    Generates a CSR

    OpenSSLCertificate|resource|false
    openssl_csr_sign(OpenSSLCertificateSigningRequest|string|resource $csr, OpenSSLCertificate|resource|string|null $ca_certificate, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, int $days, array|null $options, int $serial = 0, string|null $serial_hex = null)

    Sign a CSR with another certificate (or itself) and generate a certificate

    string|false
    openssl_decrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, string $iv = "", string|null $tag = null, string $aad = "")

    Decrypts data

    string|false
    openssl_dh_compute_key(string $public_key, OpenSSLAsymmetricKey|resource $private_key)
    Since: 5.3

    Computes shared secret for public value of remote DH key and local DH key

    string|false
    openssl_digest(string $data, string $digest_algo, bool $binary = false)

    Computes a digest

    string|false
    openssl_encrypt(string $data, string $cipher_algo, string $passphrase, int $options = 0, string $iv = "", string $tag, string $aad = "", int $tag_length = 16)

    Encrypts data

    string|false
    openssl_error_string()

    Return openSSL error message

    void
    openssl_free_key(OpenSSLAsymmetricKey|resource $key)

    Free key resource

    array
    openssl_get_cert_locations()
    Since: 5.6

    Retrieve the available certificate locations

    array
    openssl_get_cipher_methods(bool $aliases = false)

    Gets available cipher methods

    array|false
    openssl_get_curve_names()

    No description

    array
    openssl_get_md_methods(bool $aliases = false)

    Gets available digest methods

    OpenSSLAsymmetricKey|resource|false
    openssl_get_privatekey(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, string|null $passphrase)

    Alias of openssl_pkey_get_private

    openssl_get_publickey(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key)

    Alias of openssl_pkey_get_public

    bool
    openssl_open(string $data, string $output, string $encrypted_key, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, string $cipher_algo, string|null $iv)

    Open sealed data

    string|false
    openssl_pbkdf2(string $password, string $salt, int $key_length, int $iterations, string $digest_algo = 'sha1')
    Since: 5.5

    Generates a PKCS5 v2 PBKDF2 string, defaults to SHA-1

    bool
    openssl_pkcs12_export(OpenSSLCertificate|string|resource $certificate, string $output, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, string $passphrase, $args, array $options = [])
    Since: 5.2.2

    Exports a PKCS#12 Compatible Certificate Store File to variable.

    bool
    openssl_pkcs12_export_to_file(OpenSSLCertificate|string|resource $certificate, string $output_filename, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, string $passphrase, array $options = [])
    Since: 5.2.2

    Exports a PKCS#12 Compatible Certificate Store File

    bool
    openssl_pkcs12_read(string $pkcs12, array $certificates, string $passphrase)
    Since: 5.2.2

    Parse a PKCS#12 Certificate Store into an array

    bool
    openssl_pkcs7_decrypt(string $input_filename, string $output_filename, OpenSSLCertificate|string|resource $certificate, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string|null $private_key)

    Decrypts an S/MIME encrypted message

    bool
    openssl_pkcs7_encrypt(string $input_filename, string $output_filename, OpenSSLCertificate|array|string|resource $certificate, array|null $headers, int $flags = 0, int $cipher_algo = OPENSSL_CIPHER_AES_128_CBC)

    Encrypt an S/MIME message

    bool
    openssl_pkcs7_read(string $data, array $certificates)
    Since: 7.2

    No description

    bool
    openssl_pkcs7_sign(string $input_filename, string $output_filename, OpenSSLCertificate|string|resource $certificate, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, array|null $headers, int $flags = PKCS7_DETACHED, string|null $untrusted_certificates_filename)

    Sign an S/MIME message

    int|bool
    openssl_pkcs7_verify(string $input_filename, int $flags, string|null $signers_certificates_filename, array $ca_info = [], string|null $untrusted_certificates_filename, string|null $content, string|null $output_filename)

    Verifies the signature of an S/MIME signed message

    string|false
    openssl_pkey_derive(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, int $key_length = 0)
    Since: 7.3

    No description

    bool
    openssl_pkey_export(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $key, string $output, string|null $passphrase, array|null $options)

    Gets an exportable representation of a key into a string

    bool
    openssl_pkey_export_to_file(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $key, string $output_filename, string|null $passphrase, array|null $options)

    Gets an exportable representation of a key into a file

    void
    openssl_pkey_free(OpenSSLAsymmetricKey|resource $key)

    Frees a private key

    array|false
    openssl_pkey_get_details(OpenSSLAsymmetricKey|resource $key)

    Returns an array with the key details

    OpenSSLAsymmetricKey|resource|false
    openssl_pkey_get_private(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, string|null $passphrase = null)

    Get a private key

    OpenSSLAsymmetricKey|resource|false
    openssl_pkey_get_public(OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key)

    Extract public key from certificate and prepare it for use

    OpenSSLAsymmetricKey|resource|false
    openssl_pkey_new(array|null $options)

    Generates a new private key

    bool
    openssl_private_decrypt(string $data, string $decrypted_data, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, int $padding = OPENSSL_PKCS1_PADDING)

    Decrypts data with private key

    bool
    openssl_private_encrypt(string $data, string $encrypted_data, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, int $padding = OPENSSL_PKCS1_PADDING)

    Encrypts data with private key

    bool
    openssl_public_decrypt(string $data, string $decrypted_data, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key, int $padding = OPENSSL_PKCS1_PADDING)

    Decrypts data with public key

    bool
    openssl_public_encrypt(string $data, string $encrypted_data, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key, int $padding = OPENSSL_PKCS1_PADDING)

    Encrypts data with public key

    string|false
    openssl_random_pseudo_bytes(int $length, bool $strong_result)

    Generates a string of pseudo-random bytes, with the number of bytes determined by the length parameter.

    int|false
    openssl_seal(string $data, string $sealed_data, array $encrypted_keys, array $public_key, string $cipher_algo, string $iv = null)

    Seal (encrypt) data

    bool
    openssl_sign(string $data, string $signature, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key, string|int $algorithm = OPENSSL_ALGO_SHA1)

    Generate signature

    string|false
    openssl_spki_export(string $spki)
    Since: 5.6

    Exports a valid PEM formatted public key signed public key and challenge

    string|false
    openssl_spki_export_challenge(string $spki)
    Since: 5.6

    Exports the challenge associated with a signed public key and challenge

    string|false
    openssl_spki_new(OpenSSLAsymmetricKey|resource $private_key, string $challenge, int $digest_algo = 2)
    Since: 5.6

    Generate a new signed public key and challenge

    bool
    openssl_spki_verify(string $spki)
    Since: 5.6

    Verifies a signed public key and challenge

    int|false
    openssl_verify(string $data, string $signature, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key, string|int $algorithm = OPENSSL_ALGO_SHA1)

    Verify signature

    bool
    openssl_x509_check_private_key(OpenSSLCertificate|string|resource $certificate, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $private_key)

    Checks if a private key corresponds to a certificate

    int|bool
    openssl_x509_checkpurpose(OpenSSLCertificate|string|resource $certificate, int $purpose, array $ca_info = [], string|null $untrusted_certificates_file)

    Verifies if a certificate can be used for a particular purpose

    bool
    openssl_x509_export(OpenSSLCertificate|string|resource $certificate, string $output, bool $no_text = true)

    Exports a certificate as a string

    bool
    openssl_x509_export_to_file(OpenSSLCertificate|string|resource $certificate, string $output_filename, bool $no_text = true)

    Exports a certificate to file

    string|false
    openssl_x509_fingerprint(string $certificate, string $digest_algo = 'sha1', bool $binary = false)
    Since: 5.6

    No description

    void
    openssl_x509_free(OpenSSLCertificate|resource|string $certificate)

    Free certificate resource

    array|false
    openssl_x509_parse(OpenSSLCertificate|string|resource $certificate, bool $shortname, bool $short_names = true)

    Parse an X509 certificate and return the information as an array

    OpenSSLCertificate|resource|false
    openssl_x509_read(OpenSSLCertificate|string|resource $certificate)

    Parse an X.509 certificate and return a resource identifier for it

    int
    openssl_x509_verify(OpenSSLCertificate|string|resource $certificate, OpenSSLAsymmetricKey|OpenSSLCertificate|array|string $public_key)
    Since: 7.4

    Verifies digital signature of x509 certificate against a public key

    int
    ord(string $character)

    Convert the first byte of a string to a value between 0 and 255

    bool
    output_add_rewrite_var(string $name, string $value)

    Add URL rewriter values

    void
    output_cache_disable()

    Disables output caching for currently running scripts.

    void
    output_cache_disable_compression()

    Does not allow the cache to perform compression on the output of the current page.

    bool
    output_cache_exists(string $key, int $lifetime)

    If data for assigned key exists, this function outputs it and returns a value of true.

    string
    output_cache_fetch(string $key, string $function, int $lifetime)

    Gets the code’s return value from the cache if it is there, if not - run function and cache the value.

    mixed|false
    output_cache_get(string $key, int $lifetime)

    Gets cached data according to the assigned key.

    mixed
    output_cache_output(string $key, string $function, int $lifetime)

    If they cache for the key exists, output it, otherwise capture expression output, cache and pass it out.

    bool
    output_cache_put(string $key, mixed $data)

    Puts data in cache according to the assigned key.

    bool
    output_cache_remove(string $filename)

    Removes all the cache data for the given filename.

    bool
    output_cache_remove_key(string $key)

    Remove item from PHP API cache by key

    bool
    output_cache_remove_url(string $url)

    Remove cache data for the script with given URL (all dependent data is removed)

    void
    output_cache_stop()

    If output was captured by output_cache_exists, this function stops the output capture and stores the data under the key that was given to output_cache_exists().

    bool
    output_reset_rewrite_vars()

    Reset URL rewriter values

    string|false
    pack(string $format, mixed ...$values)

    Pack data into binary string

    bool
    pam_auth(string $username, string $password, string|null $error = null, bool $check_account_management = true, string $service_name = 'php')

    Authorize against a PAM unix database.

    bool
    pam_chpass(string $username, string $old_password, string $new_password, string $error = null, string $service_name = 'php')

    Change a password for a PAM unix account.

    array|false
    parse_ini_file(string $filename, bool $process_sections = false, int $scanner_mode = INI_SCANNER_NORMAL)

    Parse a configuration file

    array|false
    parse_ini_string(string $ini_string, bool $process_sections = false, int $scanner_mode = INI_SCANNER_NORMAL)

    Parse a configuration string

    void
    parse_str(string $string, array $result)

    Parses the string into variables

    array|string|int|false|null
    parse_url(string $url, int $component = -1)

    Parse a URL and return its components

    bool|null
    passthru(string $command, int $result_code)

    Execute an external program and display raw output

    array
    password_algos()
    Since: 7.4

    Return a complete list of all registered password hashing algorithms.

    array|null
    password_get_info(string $hash)
    Since: 5.5

    Returns information about the given hash

    string|false|null
    password_hash(string $password, string|int|null $algo, array $options = [])
    Since: 5.5

    (PHP 5 >= 5.5.0, PHP 5)

    bool
    password_needs_rehash(string $hash, string|int|null $algo, array $options = [])
    Since: 5.5

    Checks if the given hash matches the given options.

    bool
    password_verify(string $password, string $hash)
    Since: 5.5

    Checks if the given hash matches the given options.

    array|string
    pathinfo(string $path, int $flags = PATHINFO_ALL)

    Returns information about a file path

    int
    pclose(resource $handle)

    Closes process file pointer

    int
    pcntl_alarm(int $seconds)

    Set an alarm clock for delivery of a signal

    bool
    pcntl_async_signals(bool|null $enable = null)
    Since: 7.1

    Enable/disable asynchronous signal handling or return the old setting.
    If the enable parameter is omitted, it returns whether asynchronous signal handling is enabled.

    int
    pcntl_errno()
    Since: 5.3.4

    Alias of pcntl_get_last_error

    bool
    pcntl_exec(string $path, array $args = [], array $env_vars = [])

    Executes specified program in current process space

    int
    pcntl_fork()

    Forks the currently running process

    int
    pcntl_get_last_error()
    Since: 5.3.4

    Retrieve the error number set by the last pcntl function which failed

    int
    pcntl_getcpu()
    Since: 8.4

    No description

    array|false
    pcntl_getcpuaffinity(int|null $process_id = null)
    Since: 8.4

    No description

    int|false
    pcntl_getpriority(int|null $process_id, int $mode = PRIO_PROCESS)

    Get the priority of any process

    bool
    pcntl_setcpuaffinity(int|null $process_id = null, array $cpu_ids = [])
    Since: 8.4

    No description

    bool
    pcntl_setpriority(int $priority, int|null $process_id, int $mode = PRIO_PROCESS)

    Change the priority of any process

    bool
    pcntl_signal(int $signal, callable|int $handler, bool $restart_syscalls = true)

    Installs a signal handler

    bool
    pcntl_signal_dispatch()

    Calls signal handlers for pending signals

    bool|resource
    pcntl_signal_get_handler(int $signal)
    Since: 7.1

    Get the current handler for specified signal.

    bool
    pcntl_sigprocmask(int $mode, array $signals, array $old_signals)

    Sets and retrieves blocked signals

    int|false
    pcntl_sigtimedwait(array $signals, array $info = [], int $seconds = 0, int $nanoseconds = 0)

    Waits for signals, with a timeout

    int|false
    pcntl_sigwaitinfo(array $signals, array $info = [])

    Waits for signals

    false|string
    pcntl_strerror(int $error_code)
    Since: 5.3.4

    Retrieve the system error message associated with the given errno

    bool
    pcntl_unshare(int $flags)
    Since: 7.4

    No description

    int
    pcntl_wait(int $status, int $flags = 0, array $resource_usage = [])

    Waits on or returns the status of a forked child

    bool
    pcntl_waitid(int $idtype = P_ALL, int|null $id = null, $info = [], int $flags = WEXITED)
    Since: 8.4

    No description

    int
    pcntl_waitpid(int $process_id, int $status, int $flags = 0, array $resource_usage = [])

    Waits on or returns the status of a forked child

    int|false
    pcntl_wexitstatus(int $status)

    Returns the return code of a terminated child

    bool
    pcntl_wifcontinued(int $status)

    No description

    bool
    pcntl_wifexited(int $status)

    Checks if status code represents a normal exit

    bool
    pcntl_wifsignaled(int $status)

    Checks whether the status code represents a termination due to a signal

    bool
    pcntl_wifstopped(int $status)

    Checks whether the child process is currently stopped

    int|false
    pcntl_wstopsig(int $status)

    Returns the signal which caused the child to stop

    int|false
    pcntl_wtermsig(int $status)

    Returns the signal which caused the child to terminate

    array
    pdo_drivers()

    (PHP 5 >= 5.1.3, PHP 7, PECL pdo >= 1.0.3)
    Return an array of available PDO drivers

    resource|false
    pfsockopen(string $hostname, int $port = -1, int $error_code, string $error_message, float|null $timeout)

    Open persistent Internet or Unix domain socket connection

    int
    pg_affected_rows(resource $result)

    Returns number of affected records (tuples)

    bool
    pg_cancel_query(resource $connection)

    Cancel an asynchronous query

    bool
    pg_change_password(Connection $connection, string $user, string $password)
    Since: 8.4

    No description

    string
    pg_client_encoding(resource $connection = null)

    Gets the client encoding

    string
    pg_clientencoding($connection)
    deprecated

    No description

    pg_close(resource $connection = null)

    Closes a PostgreSQL connection

    int
    pg_cmdtuples($result)
    deprecated

    No description

    resource|false
    pg_connect(string $connection_string, int $flags = 0, string $host = '', string $port = '', string $options = '', string $tty = '', string $dbname = '')

    Open a PostgreSQL connection

    int
    pg_connect_poll(resource $connection)
    Since: 5.6

    Poll the status of an in-progress asynchronous PostgreSQL connection attempt.

    bool
    pg_connection_busy(resource $connection)

    Get connection is busy or not

    bool
    pg_connection_reset(resource $connection)

    Reset connection (reconnect)

    int
    pg_connection_status(resource $connection)

    Get connection status

    bool
    pg_consume_input(Connection|resource $connection)

    Reads input on the connection

    array|false
    pg_convert(resource $connection, string $table_name, array $values, int $flags = 0)

    Convert associative array values into suitable for SQL statement

    bool
    pg_copy_from(resource $connection, string $table_name, array $rows, string $separator = ' ', string $null_as = '\\\\N')

    Insert records into a table from an array

    array|false
    pg_copy_to(resource $connection, string $table_name, string $separator = ' ', string $null_as = '\\\\N')

    Copy a table to an array

    string
    pg_dbname(resource $connection = null)

    Get the database name

    string|bool
    pg_delete(resource $connection, string $table_name, array $conditions, int $flags = PGSQL_DML_EXEC)

    Deletes records

    bool
    pg_end_copy(resource $connection = null)

    Sync with PostgreSQL backend

    bool
    pg_enter_pipeline_mode(Connection $connection)
    Since: 8.3

    No description

    string
    pg_errormessage($connection)
    deprecated

    No description

    string
    pg_escape_bytea(resource $connection, string $string)

    Escape a string for insertion into a bytea field

    string|false
    pg_escape_identifier(resource $connection, string $string)
    Since: 5.4.4

    Escape a identifier for insertion into a text field

    string|false
    pg_escape_literal(resource $connection, string $string)
    Since: 5.4.4

    Escape a literal for insertion into a text field

    string
    pg_escape_string(resource $connection, string $string)

    Escape a string for query

    mixed
    pg_exec($connection, string $query)

    No description

    resource|false
    pg_execute(resource $connection, string $statement_name, array $params)

    Sends a request to execute a prepared statement with given parameters, and waits for the result.

    bool
    pg_exit_pipeline_mode(Connection $connection)
    Since: 8.3

    No description

    array|false
    pg_fetch_all(resource $result, int $mode = PGSQL_ASSOC)

    Fetches all rows from a result as an array

    array
    pg_fetch_all_columns(resource $result, int $field = 0)

    Fetches all rows in a particular result column as an array

    array|false
    pg_fetch_array(resource $result, int|null $row = null, int $mode = PGSQL_BOTH)

    Fetch a row as an array

    array|false
    pg_fetch_assoc(resource $result, int|null $row = null)

    Fetch a row as an associative array

    object|false
    pg_fetch_object(resource $result, int|null $row = null, string $class = 'stdClass', $l = null, array $constructor_args = [])

    Fetch a row as an object

    string|false|null
    pg_fetch_result(resource $result, int $row, string|int $field)

    Returns values from a result resource

    array|false
    pg_fetch_row(resource $result, int|null $row = null, int $mode = 2)

    Get a row as an enumerated array

    int|false
    pg_field_is_null(resource $result, int $row, string|int $field)

    Test if a field is SQL NULL

    string
    pg_field_name(resource $result, int $field)

    Returns the name of a field

    int
    pg_field_num(resource $result, string $field)

    Returns the field number of the named field

    int|false
    pg_field_prtlen(resource $result, int $row, string|int $field)

    Returns the printed length

    int
    pg_field_size(resource $result, int $field)

    Returns the internal storage size of the named field

    string|int|false
    pg_field_table(resource $result, int $field, bool $oid_only = false)

    Returns the name or oid of the tables field

    string
    pg_field_type(resource $result, int $field)

    Returns the type name for the corresponding field number

    string|int
    pg_field_type_oid(resource $result, int $field)

    Returns the type ID (OID) for the corresponding field number

    int|false
    pg_fieldisnull($result, $row, string|int $field)
    deprecated

    No description

    string
    pg_fieldname($result, int $field)
    deprecated

    No description

    int
    pg_fieldnum($result, string $field)
    deprecated

    No description

    int|false
    pg_fieldprtlen($result, $row, string|int $field)
    deprecated

    No description

    int
    pg_fieldsize($result, int $field)
    deprecated

    No description

    string
    pg_fieldtype($result, int $field)
    deprecated

    No description

    int|bool
    pg_flush(Connection|resource $connection)

    Flush outbound query data on the connection

    bool
    pg_free_result(resource $result)

    Free result memory

    bool
    pg_freeresult($result)
    deprecated

    No description

    array|false
    pg_get_notify(resource $connection, int $mode = 1)

    Gets SQL NOTIFY message

    int
    pg_get_pid(resource $connection)

    Gets the backend's process ID

    resource|false
    pg_get_result(resource $connection)

    Get asynchronous query result

    string|int|false
    pg_getlastoid($result)
    deprecated

    No description

    string
    pg_host(resource $connection = null)

    Returns the host name associated with the connection

    mixed
    pg_insert(resource $connection, string $table_name, array $values, int $flags = PGSQL_DML_EXEC)

    Insert array into table

    array
    pg_jit(Connection|null $connection = null)
    Since: 8.4

    No description

    string
    pg_last_error(resource $connection = null)

    Get the last error message string of a connection

    array|string|bool
    pg_last_notice(resource $connection, int $mode = PGSQL_NOTICE_LAST)

    Returns the last notice message from PostgreSQL server

    string|int|false
    pg_last_oid(resource $result)

    Returns the last row's OID

    bool
    pg_lo_close(resource $lob)

    Close a large object

    string|int|false
    pg_lo_create(resource $connection, mixed $oid)

    Create a large object

    bool
    pg_lo_export(resource $connection = null, int $oid, string $pathname)

    Export a large object to file

    string|int|false
    pg_lo_import(resource $connection = null, string $pathname, mixed $object_id = null)

    Import a large object from file

    resource|false
    pg_lo_open(resource $connection, int $oid, string $mode)

    Open a large object

    string|false
    pg_lo_read(resource $lob, int $length = 8192)

    Read a large object

    int
    pg_lo_read_all(resource $lob)

    Reads an entire large object and send straight to browser

    bool
    pg_lo_seek(resource $lob, int $offset, int $whence = PGSQL_SEEK_CUR)

    Seeks position within a large object

    int
    pg_lo_tell(resource $lob)

    Returns current seek position a of large object

    bool
    pg_lo_truncate(resource $lob, int $size)

    Truncates a large object

    int|false
    pg_lo_write(resource $lob, string $data, int|null $length = null)

    Write to a large object

    bool
    pg_loclose($lob)
    deprecated

    No description

    string|int|false
    pg_locreate($connection, $oid)
    deprecated

    No description

    bool
    pg_loexport($connection, $oid, $filename)
    deprecated

    No description

    string|int|false
    pg_loimport($connection, $filename, $oid)
    deprecated

    No description

    resource
    pg_loopen($connection, $oid, string $mode)
    deprecated

    No description

    string|false
    pg_loread($lob, int $length = 8192)
    deprecated

    No description

    int
    pg_loreadall($lob)
    deprecated

    No description

    int|false
    pg_lowrite($lob, string $data, int|null $length)
    deprecated

    No description

    array|false
    pg_meta_data(resource $connection, string $table_name, bool $extended = false)

    Get meta data for table

    int
    pg_num_fields(resource $result)

    Returns the number of fields in a result

    int
    pg_num_rows(resource $result)

    Returns the number of rows in a result

    int
    pg_numfields($result)
    deprecated

    No description

    int
    pg_numrows($result)
    deprecated

    No description

    string
    pg_options(resource $connection = null)

    Get the options associated with the connection

    string|false
    pg_parameter_status(resource $connection, string $name)

    Looks up a current parameter setting of the server.

    resource|false
    pg_pconnect(string $connection_string, int $flags = 0, string $host = '', string $port = '', string $options = '', string $tty = '', string $dbname = '')

    Open a persistent PostgreSQL connection

    bool
    pg_ping(resource $connection = null)

    Ping database connection

    int
    pg_pipeline_status(Connection $connection)
    Since: 8.3

    No description

    bool
    pg_pipeline_sync(Connection $connection)
    Since: 8.3

    No description

    string
    pg_port(resource $connection = null)

    Return the port number associated with the connection

    resource|false
    pg_prepare(resource $connection, string $statement_name, string $query)

    Submits a request to create a prepared statement with the given parameters, and waits for completion.

    int
    pg_put_copy_data(Connection $connection, string $cmd)
    Since: 8.4

    No description

    int
    pg_put_copy_end(Connection $connection, string|null $error = null)
    Since: 8.4

    No description

    bool
    pg_put_line(resource $connection, string $query)

    Send a NULL-terminated string to PostgreSQL backend

    resource|false
    pg_query(resource $connection, string $query)

    Execute a query

    resource|false
    pg_query_params(resource $connection, string $query, array $params)

    Submits a command to the server and waits for the result, with the ability to pass parameters separately from the SQL command text.

    string|null|false
    pg_result($connection, Result|resource $result, $row, string|int $field)
    deprecated

    No description

    string|false
    pg_result_error(resource $result)

    Get error message associated with result

    string|false|null
    pg_result_error_field(resource $result, int $field_code)

    Returns an individual field of an error report.

    int
    pg_result_memory_size(Result $result)
    Since: 8.4

    No description

    bool
    pg_result_seek(resource $result, int $row)

    Set internal row offset in result resource

    string|int
    pg_result_status(resource $result, int $mode = PGSQL_STATUS_LONG)

    Get status of query result

    array|string|false
    pg_select(resource|Connection $connection, string $table_name, array $conditions = [], int $flags = PGSQL_DML_EXEC, int $mode = PGSQL_ASSOC)

    Select records

    int|bool
    pg_send_execute(resource $connection, string $statement_name, array $params)

    Sends a request to execute a prepared statement with given parameters, without waiting for the result(s).

    int|bool
    pg_send_prepare(resource $connection, string $statement_name, string $query)

    Sends a request to create a prepared statement with the given parameters, without waiting for completion.

    int|bool
    pg_send_query(resource $connection, string $query)

    Sends asynchronous query

    int|bool
    pg_send_query_params(resource $connection, string $query, array $params)

    Submits a command and separate parameters to the server without waiting for the result(s).

    bool
    pg_set_chunked_rows_size(Connection $connection, int $size)
    Since: 8.4

    No description

    int
    pg_set_client_encoding(resource $connection, string $encoding)

    Set the client encoding

    int
    pg_set_error_context_visibility(Connection $connection, int $visibility)
    Since: 8.3

    No description

    int|false
    pg_set_error_verbosity(resource $connection, int $verbosity)

    Determines the verbosity of messages returned by pg_last_error and pg_result_error.

    int
    pg_setclientencoding($connection, string $encoding)
    deprecated

    No description

    resource|false
    pg_socket(resource $connection)
    Since: 5.6

    Get a read only handle to the socket underlying a PostgreSQL connection

    int
    pg_socket_poll(resource $socket, int $read, int $write, int $timeout = -1)
    Since: 8.4

    No description

    bool
    pg_trace(string $filename, string $mode = "w", resource $connection = null, int $trace_mode = 0)

    Enable tracing a PostgreSQL connection

    int
    pg_transaction_status(resource $connection)

    Returns the current in-transaction status of the server.

    string
    pg_tty(resource $connection = null)

    Return the TTY name associated with the connection

    string
    pg_unescape_bytea(string $string)

    Unescape binary for bytea type

    pg_untrace(resource $connection = null)

    Disable tracing of a PostgreSQL connection

    string|bool
    pg_update(resource $connection, string $table_name, array $values, array $conditions, int $flags = PGSQL_DML_EXEC)

    Update table

    array
    pg_version(resource $connection = null)

    Returns an array with client, protocol and server version (when available)

    php_egg_logo_guid()

    No description

    string|false
    php_ini_loaded_file()
    Since: 5.2.4

    Retrieve a path to the loaded php.ini file

    string|false
    php_ini_scanned_files()

    Return a list of .ini files parsed from the additional ini dir

    string
    php_logo_guid()

    Gets the logo guid

    php_real_logo_guid()

    No description

    string|false
    php_sapi_name()

    Returns the type of interface between web server and PHP

    string
    php_strip_whitespace(string $filename)

    Return source with stripped comments and whitespace

    string
    php_uname(string $mode = 'a')

    Returns information about the operating system PHP is running on

    bool
    phpcredits(int $flags = CREDITS_ALL)

    Prints out the credits for PHP

    void
    phpdbg_break_file(string $file, int $line)

    No description

    void
    phpdbg_break_function(string $function)

    No description

    void
    phpdbg_break_method(string $class, string $method)

    No description

    void
    phpdbg_break_next()

    No description

    void
    phpdbg_clear()

    No description

    void
    phpdbg_color(int $element, string $color)

    No description

    array|null
    phpdbg_end_oplog(array $options = [])

    No description

    string|bool
    phpdbg_exec(string $context)

    No description

    array
    phpdbg_get_executable(array $options = [])

    No description

    void
    phpdbg_prompt(string $string)

    No description

    void
    phpdbg_start_oplog()

    No description

    bool
    phpinfo(int $flags = INFO_ALL)

    Outputs information about PHP's configuration

    string|false
    phpversion(string|null $extension)

    Gets the current PHP version

    float
    pi()

    Get value of pi

    bool
    png2wbmp(string $pngname, string $wbmpname, int $dest_height, int $dest_width, int $threshold)

    Convert PNG image file to WBMP image file

    resource|false
    popen(string $command, string $mode)

    Opens process file pointer

    mixed
    pos(object|array $array)

    Alias: {current}

    bool
    posix_access(string $filename, int $flags = POSIX_F_OK)

    Determine accessibility of a file

    string|false
    posix_ctermid()

    Get path name of controlling terminal

    bool
    posix_eaccess(string $filename, int $flags = 0)
    Since: 8.3

    No description

    int
    posix_errno()

    Alias of posix_get_last_error

    int
    posix_get_last_error()

    Retrieve the error number set by the last posix function that failed

    string|false
    posix_getcwd()

    Pathname of current directory

    int
    posix_getegid()

    Return the effective group ID of the current process

    int
    posix_geteuid()

    Return the effective user ID of the current process

    int
    posix_getgid()

    Return the real group ID of the current process

    array|false
    posix_getgrgid(int $group_id)

    Return info about a group by group id

    array|false
    posix_getgrnam(string $name)

    Return info about a group by name

    array|false
    posix_getgroups()

    Return the group set of the current process

    string|false
    posix_getlogin()

    Return login name

    int|false
    posix_getpgid(int $process_id)

    Get process group id for job control

    int
    posix_getpgrp()

    Return the current process group identifier

    int
    posix_getpid()

    Return the current process identifier

    int
    posix_getppid()

    Return the parent process identifier

    array|false
    posix_getpwnam(string $username)

    Return info about a user by username

    array|false
    posix_getpwuid(int $user_id)

    Return info about a user by user id

    array|false
    posix_getrlimit(int|null $resource = null)

    Return info about system resource limits

    int|false
    posix_getsid(int $process_id)

    Get the current sid of the process

    int
    posix_getuid()

    Return the real user ID of the current process

    bool
    posix_initgroups(string $username, int $group_id)

    Calculate the group access list

    bool
    posix_isatty(mixed $file_descriptor)

    Determine if a file descriptor is an interactive terminal

    bool
    posix_kill(int $process_id, int $signal)

    Send a signal to a process

    bool
    posix_mkfifo(string $filename, int $permissions)

    Create a fifo special file (a named pipe)

    bool
    posix_mknod(string $filename, int $flags, int $major = 0, int $minor = 0)

    Create a special or ordinary file (POSIX.1)

    bool
    posix_setegid(int $group_id)

    Set the effective GID of the current process

    bool
    posix_seteuid(int $user_id)

    Set the effective UID of the current process

    bool
    posix_setgid(int $group_id)

    Set the GID of the current process

    bool
    posix_setpgid(int $process_id, int $process_group_id)

    Set process group id for job control

    bool
    posix_setrlimit(int $resource, int $soft_limit, int $hard_limit)
    Since: 7.0

    Set system resource limits

    int
    posix_setsid()

    Make the current process a session leader

    bool
    posix_setuid(int $user_id)

    Set the UID of the current process

    string
    posix_strerror(int $error_code)

    Retrieve the system error message associated with the given errno

    int
    posix_sysconf(int $conf_id)
    Since: 8.3

    No description

    array|false
    posix_times()

    Get process times

    string|false
    posix_ttyname(int $file_descriptor)

    Determine terminal device name

    array|false
    posix_uname()

    Get system name

    object|int|float
    pow(mixed $num, mixed $exponent)

    Exponential expression

    array|string|null
    preg_filter(array|string $pattern, array|string $replacement, array|string $subject, int $limit = -1, int $count)

    Perform a regular expression search and replace

    array|false
    preg_grep(string $pattern, array $array, int $flags = 0)

    Return array entries that match the pattern

    int
    preg_last_error()

    Returns the error code of the last PCRE regex execution

    string
    preg_last_error_msg()
    Since: 8.0

    Returns the error message of the last PCRE regex execution

    int|false
    preg_match(string $pattern, string $subject, string[] $matches, int $flags = 0, int $offset = 0)

    Perform a regular expression match

    int|false|null
    preg_match_all(string $pattern, string $subject, string[][] $matches, int $flags = 0, int $offset = 0)

    Perform a global regular expression match

    string
    preg_quote(string $str, string|null $delimiter = null)

    Quote regular expression characters

    array|string|null
    preg_replace(array|string $pattern, array|string $replacement, array|string $subject, int $limit = -1, int $count)

    Perform a regular expression search and replace

    array|string|null
    preg_replace_callback(array|string $pattern, callable $callback, array|string $subject, int $limit = -1, int $count, int $flags = 0)

    Perform a regular expression search and replace using a callback

    array|string|null
    preg_replace_callback_array(array $pattern, array|string $subject, int $limit = -1, int $count, int $flags = 0)

    Perform a regular expression search and replace using callbacks

    array|false
    preg_split(string $pattern, string $subject, int $limit = -1, int $flags = 0)

    Split string by a regular expression

    mixed
    prev(object|array $array)

    Rewind the internal array pointer

    string|bool
    print_r(mixed $value, bool $return = false)

    Prints human-readable information about a variable

    int
    printf(string $format, mixed ...$values)

    Output a formatted string

    int
    proc_close(resource $process)

    Close a process opened by {proc_open} and return the exit code of that process

    array|false
    proc_get_status(resource $process)

    Get information about a process opened by {proc_open}

    bool
    proc_nice(int $priority)

    Change the priority of the current process.
    Since 7.2.0 supported on Windows platforms.

    resource|false
    proc_open(array|string $command, array $descriptor_spec, array $pipes, string|null $cwd, array|null $env_vars, array|null $options)

    Execute a command and open file pointers for input/output

    bool
    proc_terminate(resource $process, int $signal = 15)

    Kills a process opened by proc_open

    bool
    pspell_add_to_personal(int $dictionary, string $word)

    Add the word to a personal wordlist

    bool
    pspell_add_to_session(int $dictionary, string $word)

    Add the word to the wordlist in the current session

    bool
    pspell_check(int $dictionary, string $word)

    Check a word

    bool
    pspell_clear_session(int $dictionary)

    Clear the current session

    int
    pspell_config_create(string $language, string $spelling = "", string $jargon = "", string $encoding = "")

    Create a config used to open a dictionary

    bool
    pspell_config_data_dir(int $config, string $directory)

    location of language data files

    bool
    pspell_config_dict_dir(int $config, string $directory)

    Location of the main word list

    bool
    pspell_config_ignore(int $config, int $min_length)

    Ignore words less than N characters long

    bool
    pspell_config_mode(int $config, int $mode)

    Change the mode number of suggestions returned

    bool
    pspell_config_personal(int $config, string $filename)

    Set a file that contains personal wordlist

    bool
    pspell_config_repl(int $config, string $filename)

    Set a file that contains replacement pairs

    bool
    pspell_config_runtogether(int $config, bool $allow)

    Consider run-together words as valid compounds

    bool
    pspell_config_save_repl(int $config, bool $save)

    Determine whether to save a replacement pairs list along with the wordlist

    int|false
    pspell_new(string $language, string $spelling = "", string $jargon = "", string $encoding = "", int $mode = 0)

    Load a new dictionary

    int|false
    pspell_new_config(int $config)

    Load a new dictionary with settings based on a given config

    int|false
    pspell_new_personal(string $filename, string $language, string $spelling = "", string $jargon = "", string $encoding = "", int $mode = 0)

    Load a new dictionary with personal wordlist

    bool
    pspell_save_wordlist(int $dictionary)

    Save the personal wordlist to a file

    bool
    pspell_store_replacement(int $dictionary, string $misspelled, string $correct)

    Store a replacement pair for a word

    array|false
    pspell_suggest(int $dictionary, string $word)

    Suggest spellings of a word

    bool
    putenv(string $assignment)

    Sets the value of an environment variable

    string
    quoted_printable_decode(string $string)

    Convert a quoted-printable string to an 8 bit string

    string
    quoted_printable_encode(string $string)

    Convert a 8 bit string to a quoted-printable string

    string
    quotemeta(string $string)

    Quote meta characters

    float
    rad2deg(float $num)

    Converts the radian number to the equivalent number in degrees

    resource|false
    radius_acct_open()
    Since: 1.1.0

    Creates a Radius handle for accounting

    bool
    radius_add_server(resource $radius_handle, string $hostname, int $port, string $secret, int $timeout, int $max_tries)
    Since: 1.1.0

    radius_add_server() may be called multiple times, and it may be used together with {radius_config()}. At most 10 servers may be specified. When multiple servers are given, they are tried in round-robin fashion until a valid response is received, or until each server's max_tries limit has been reached.

    resource|false
    radius_auth_open()
    Since: 1.1.0

    Creates a Radius handle for authentication

    bool
    radius_close(resource $radius_handle)
    Since: 1.1.0

    Free all resources. It is not needed to call this function because php frees all resources at the end of each request.

    bool
    radius_config(resource $radius_handle, string $file)
    Since: 1.1.0

    Before issuing any Radius requests, the library must be made aware of the servers it can contact. The easiest way to configure the library is to call radius_config(). radius_config() causes the library to read a configuration file whose format is described in radius.conf.

    bool
    radius_create_request(resource $radius_handle, int $type)
    Since: 1.1.0

    A Radius request consists of a code specifying the kind of request, and zero or more attributes which provide additional information. To begin constructing a new request, call radius_create_request().
    Note: Attention: You must call this function, before you can put any attribute!

    int
    rand(int $min, int $max)

    Generate a random integer

    string
    random_bytes(int $length)
    Since: 7.0

    Generates cryptographically secure pseudo-random bytes

    int
    random_int(int $min, int $max)
    Since: 7.0

    Generates cryptographically secure pseudo-random integers

    array
    range(mixed $start, mixed $end, int|float $step = 1)

    Create an array containing a range of elements

    string
    rawurldecode(string $string)

    Decode URL-encoded strings

    string
    rawurlencode(string $string)

    URL-encode according to RFC 3986

    string
    rd_kafka_err2str(int $err)

    No description

    int
    rd_kafka_errno()

    No description

    int
    rd_kafka_errno2err(int $errnox)

    No description

    array
    rd_kafka_get_err_descs()

    Returns the full list of error codes.

    int
    rd_kafka_offset_tail(int $cnt)

    No description

    int
    rd_kafka_thread_cnt()

    Retrieve the current number of threads in use by librdkafka.

    read_exif_data($filename, $sections = null, $arrays = false, $thumbnail = false)

    Alias of exif_read_data

    string|false
    readdir(resource $dir_handle)

    Read entry from directory handle

    int|false
    readfile(string $filename, bool $use_include_path = false, resource $context)

    Outputs a file

    int|false
    readgzfile(string $filename, int $use_include_path = 0)

    Output a gz-file

    string|false
    readline(string|null $prompt)

    Reads a line

    bool
    readline_add_history(string $prompt)

    Adds a line to the history

    bool
    readline_callback_handler_install(string $prompt, callable $callback)

    Initializes the readline callback interface and terminal, prints the prompt and returns immediately

    bool
    readline_callback_handler_remove()

    Removes a previously installed callback handler and restores terminal settings

    void
    readline_callback_read_char()

    Reads a character and informs the readline callback interface when a line is received

    bool
    readline_clear_history()

    Clears the history

    bool
    readline_completion_function(callable $callback)

    Registers a completion function

    mixed
    readline_info(string|null $var_name, string $value)

    Gets/sets various internal readline variables

    array
    readline_list_history()

    Lists the history

    void
    readline_on_new_line()

    Inform readline that the cursor has moved to a new line

    bool
    readline_read_history(string|null $filename)

    Reads the history

    void
    readline_redisplay()

    Redraws the display

    bool
    readline_write_history(string|null $filename)

    Writes the history

    string|false
    realpath(string $path)

    Returns canonicalized absolute pathname

    array
    realpath_cache_get()
    Since: 5.3.2

    Get the contents of the realpath cache.

    int
    realpath_cache_size()
    Since: 5.3.2

    Get the amount of memory used by the realpath cache.

    recode($request, $str)

    Alias of recode_string

    bool
    recode_file(string $request, resource $input, resource $output)

    Recode from file to file according to recode request

    string|false
    recode_string(string $request, string $string)

    Recode a string according to a recode request

    bool
    register_event_handler(string $event_handler_func, string $handler_register_name, int $event_type_mask)

    Allow you to register a user function as an event handler.When a monitor event is triggerd all the user event handler are called and the return value from the handler is saved in an array keyed by the name the event handler was registered under. The event handlers results array is saved in the event_extra_data table.

    bool|null
    register_shutdown_function(callable $callback, mixed ...$args)

    Register a function for execution on shutdown

    bool
    register_tick_function(callable $callback, mixed ...$args)

    Register a function for execution on each tick

    bool
    rename(string $from, string $to, resource $context)

    Renames a file or directory

    array
    request_parse_body(array|null $options = null)
    Since: 8.4

    No description

    mixed
    reset(object|array $array)

    Set the internal pointer of an array to its first element

    int
    resourcebundle_count(ResourceBundle $bundle)

    (PHP >= 5.3.2, PECL intl >= 2.0.0)
    Get number of elements in the bundle

    resourcebundle_create(string|null $locale, string|null $bundle, bool $fallback = true)

    (PHP >= 5.3.2, PECL intl >= 2.0.0)
    Create a resource bundle

    mixed
    resourcebundle_get(ResourceBundle $bundle, string|int $index, bool $fallback = true)

    (PHP >= 5.3.2, PECL intl >= 2.0.0)
    Get data from the bundle

    int
    resourcebundle_get_error_code(ResourceBundle $bundle)

    (PHP >= 5.3.2, PECL intl >= 2.0.0)
    Get bundle's last error code.

    string
    resourcebundle_get_error_message(ResourceBundle $bundle)

    (PHP >= 5.3.2, PECL intl >= 2.0.0)
    Get bundle's last error message.

    array|false
    resourcebundle_locales(string $bundle)

    (PHP >= 5.3.2, PECL intl >= 2.0.0)
    Get supported locales

    void
    restore_include_path()

    Restores the value of the include_path configuration option

    bool
    rewind(resource $stream)

    Rewind the position of a file pointer

    void
    rewinddir(resource $dir_handle)

    Rewind directory handle

    bool
    rmdir(string $directory, resource $context)

    Removes directory

    float
    round(int|float $num, int $precision = 0, int $mode = 0)

    Returns the rounded value of val to specified precision (number of digits after the decimal point).

    bool
    rpmaddtag(int $tag)
    Since: 0.5.0

    Add an additional retrieved tag in subsequent queries.

    array|null
    rpmdbinfo(string $nevr, bool $full = false)
    Since: 0.2.0

    Retrieve information about an installed package, from the system RPM database.

    array|null
    rpmdbsearch(string $pattern, int $rpmtag = RPMTAG_NAME, int $rpmmire = -1, bool $full = false)
    Since: 0.3.0

    Retriev information from the local RPM database.

    array|null
    rpminfo(string $path, bool $full = false, string|null $error = null)
    Since: 0.1.0

    Retrieve information from a RPM file, reading its metadata.

    int
    rpmvercmp(string $evr1, string $evr2)
    Since: 0.1.0

    Compare two RPM evr (epoch:version-release) strings

    bool
    rrd_create(string $filename, array $options)
    Since: PECL rrd >= 0.9.0

    Creates rrd database file

    void
    rrd_disconnect()
    Since: PECL rrd >= 1.1.2

    Close any outstanding connection to rrd caching daemon

    This function is automatically called when the whole PHP process is terminated. It depends on used SAPI. For example, it's called automatically at the end of command line script.

    It's up user whether he wants to call this function at the end of every request or otherwise.

    string
    rrd_error()
    Since: PECL rrd >= 0.9.0

    Gets latest error message

    array
    rrd_fetch(string $file, array $options)
    Since: PECL rrd >= 0.9.0

    Gets data for graph output from RRD database file as array. This function has same result as rrd_graph(), but fetched data are returned as array, no image file is created.

    int|false
    rrd_first(string $file, int $raaindex = 0)
    Since: PECL rrd >= 0.9.0

    Gets the timestamp of the first sample from from the specified RRA of the RRD file.

    array|false
    rrd_graph(string $file, array $options)
    Since: PECL rrd >= 0.9.0

    Creates image from a data.

    array|false
    rrd_info(string $file)
    Since: PECL rrd >= 0.9.0

    Returns information about particular RRD database file.

    int
    rrd_last(string $file)
    Since: PECL rrd >= 0.9.0

    Returns the UNIX timestamp of the most recent update of the RRD database.

    array|false
    rrd_lastupdate(string $file)
    Since: PECL rrd >= 0.9.0

    Gets array of the UNIX timestamp and the values stored for each date in the most recent update of the RRD database file.

    bool
    rrd_restore(string $xml_file, string $rrd_file, array $options = [])
    Since: PECL rrd >= 0.9.0

    Restores the RRD file from the XML dump.

    bool
    rrd_tune(string $file, array $options)
    Since: PECL rrd >= 0.9.0

    Change some options in the RRD dabase header file. E.g. renames the source for the data etc.

    bool
    rrd_update(string $file, array $options)
    Since: PECL rrd >= 0.9.0

    Updates the RRD database file. The input data is time interpolated according to the properties of the RRD database file.

    string
    rrd_version()
    Since: PECL rrd >= 1.0.0

    Returns information about underlying rrdtool library.

    array|false
    rrd_xport(array $options)
    Since: PECL rrd >= 0.9.0

    Exports the information about RRD database file. This data can be converted to XML file via user space PHP script and then restored back as RRD database file.

    rrdc_disconnect()

    Close any outstanding connection to rrd caching daemon.

    rsort(array $array, int $flags = SORT_REGULAR)

    Sort an array in reverse order

    string
    rtrim(string $string, string $characters = " \n\r\t\v\x00")

    Strip whitespace (or other characters) from the end of a string.

    string|null
    sapi_windows_cp_conv(int|string $in_codepage, int|string $out_codepage, string $subject)
    Since: 7.1

    Convert string from one codepage to another

    int
    sapi_windows_cp_get(string $kind = "")
    Since: 7.1

    Get process codepage

    bool
    sapi_windows_cp_is_utf8()
    Since: 7.1

    Indicates whether the codepage is utf-8 compatible

    bool
    sapi_windows_cp_set(int $codepage)
    Since: 7.1

    Set process codepage

    bool
    sapi_windows_generate_ctrl_event(int $event, int $pid = 0)
    Since: 7.4

    Send a CTRL event to another process.

    bool
    sapi_windows_set_ctrl_handler(callable|null $handler, bool $add = true)
    Since: 7.4

    Set or remove a CTRL event handler, which allows Windows CLI processes to intercept or ignore CTRL+C and CTRL+BREAK events.

    bool
    sapi_windows_vt100_support(resource $stream, bool|null $enable = null)
    Since: 7.2

    Get or set VT100 support for the specified stream associated to an output buffer of a Windows console.

    array|false
    scandir(string $directory, int $sorting_order = 0, resource $context)

    List files and directories inside the specified path

    bool
    sem_acquire(SysvSemaphore|resource $semaphore, bool $non_blocking = false)

    Acquire a semaphore

    resource|false|SysvSemaphore
    sem_get(int $key, int $max_acquire = 1, int $permissions = 0666, bool $auto_release = true)

    Get a semaphore id

    bool
    sem_release(SysvSemaphore|resource $semaphore)

    Release a semaphore

    bool
    sem_remove(SysvSemaphore|resource $semaphore)

    Remove a semaphore

    string
    serialize(mixed $value)

    Generates a storable representation of a value

    void|bool
    session_abort()
    Since: 5.6

    (PHP 5 >= 5.6.0)
    Discard session array changes and finish session

    int|false
    session_cache_expire(int|null $value)

    Return current cache expire

    string|false
    session_cache_limiter(string|null $value)

    Get and/or set the current cache limiter

    void|bool
    session_commit()

    Alias of session_write_close

    string|false
    session_create_id(string $prefix = '')
    Since: 7.1

    Create new session id

    bool
    session_decode(string $data)

    Decodes session data from a string

    bool
    session_destroy()

    Destroys all data registered to a session

    string|false
    session_encode()

    Encodes the current session data as a string

    int|false
    session_gc()
    Since: 7.1

    Perform session data garbage collection

    string|false
    session_id(string|null $id)

    Get and/or set the current session id

    bool
    session_is_registered(string $name)

    Find out whether a global variable is registered in a session

    string|false
    session_module_name(string|null $module)

    Get and/or set the current session module.
    Since 7.2.0 it is forbidden to set the module name to "user".

    string|false
    session_name(string|null $name)

    Get and/or set the current session name.
    Before 7.2.0 checked cookie status and since 7.2.0 checks both cookie and session status to avoid PHP crash.

    bool
    session_regenerate_id(bool $delete_old_session = false)

    Update the current session id with a newly generated one

    bool
    session_register(mixed $name, mixed ...$_)

    Register one or more global variables with the current session

    void
    session_register_shutdown()

    PHP > 5.4.0
    Session shutdown function

    void|bool
    session_reset()
    Since: 5.6

    (PHP 5 >= 5.6.0)
    Re-initialize session array with original values

    string|false
    session_save_path(string|null $path)

    Get and/or set the current session save path

    bool
    session_set_save_handler(SessionHandlerInterface $sessionhandler, bool $register_shutdown = true)

    (PHP 5.4)
    Sets user-level session storage functions

    bool
    session_start(array $options = [])

    Initialize session data

    int
    session_status()
    Since: 5.4

    (PHP 5 >= 5.4.0)
    Returns the current session status

    bool
    session_unregister(string $name)

    Unregister a global variable from the current session

    void|bool
    session_unset()

    Free all session variables

    void|bool
    session_write_close()

    Write session data and end session

    int
    set_file_buffer(resource $stream, int $size)

    Alias: {stream_set_write_buffer}

    Sets the buffering for write operations on the given stream to buffer bytes.

    string|false
    set_include_path(string $include_path)

    Sets the include_path configuration option

    set_job_failed(string $error_string)

    causes a job to fail logically can be used to indicate an error in the script logic (e.g. database connection problem)

    bool
    set_magic_quotes_runtime(bool $new_setting)

    Sets the current active configuration setting of magic_quotes_runtime

    bool
    set_socket_blocking(resource $socket, bool $mode)

    Alias: {stream_set_blocking}

    Sets blocking or non-blocking mode on a stream.

    bool
    set_time_limit(int $seconds)

    Limits the maximum execution time

    bool
    setcookie(string $name, string $value = '', array $options = [])
    Since: 7.3

    Send a cookie

    string|false
    setlocale(int $category, string|string[]|int $locales, string|string[] ...$rest)

    Set locale information

    bool
    setrawcookie(string $name, string $value = '', array $options = [])
    Since: 7.3

    Send a cookie without urlencoding the cookie value

    bool
    settype(mixed $var, string $type)

    Set the type of a variable

    string
    sha1(string $string, bool $binary = false)

    Calculate the sha1 hash of a string

    string|false
    sha1_file(string $filename, bool $binary = false)

    Calculate the sha1 hash of a file

    string|false|null
    shell_exec(string $command)

    Execute command via shell and return the complete output as a string

    resource|SysvSharedMemory|false
    shm_attach(int $key, int|null $size, int $permissions = 0666)

    Creates or open a shared memory segment

    bool
    shm_detach(SysvSharedMemory $shm)

    Disconnects from shared memory segment

    mixed
    shm_get_var(SysvSharedMemory $shm, int $key)

    Returns a variable from shared memory

    bool
    shm_has_var(SysvSharedMemory $shm, int $key)

    Check whether a specific entry exists

    bool
    shm_put_var(SysvSharedMemory $shm, int $key, mixed $value)

    Inserts or updates a variable in shared memory

    bool
    shm_remove(SysvSharedMemory $shm)

    Removes shared memory from Unix systems

    bool
    shm_remove_var(SysvSharedMemory $shm, int $key)

    Removes a variable from shared memory

    void
    shmop_close(Shmop|resource $shmop)

    Close shared memory block

    bool
    shmop_delete(Shmop|resource $shmop)

    Delete shared memory block

    resource|false|Shmop
    shmop_open(int $key, string $mode, int $permissions, int $size)

    Create or open shared memory block

    string|false
    shmop_read(Shmop|resource $shmop, int $offset, int $size)

    Read data from shared memory block

    int
    shmop_size(Shmop|resource $shmop)

    Get size of shared memory block

    int|false
    shmop_write(Shmop|resource $shmop, string $data, int $offset)

    Write data into shared memory block

    string|bool
    show_source(string $filename, bool $return = false)

    Alias: {highlight_file}

    shuffle(array $array)

    Shuffle an array

    array|stdClass|string|float|int|bool|null
    simdjson_decode(string $json, bool $associative = false, int $depth = 512)

    Takes a JSON encoded string and converts it into a PHP variable.

    bool
    simdjson_is_valid(string $json, int $depth = 512)

    Returns true if json is valid.

    int
    simdjson_key_count(string $json, string $key, int $depth = 512, bool $throw_if_uncountable = false)

    Parses $json and returns the number of keys in $json matching the JSON pointer $key

    bool
    simdjson_key_exists(string $json, string $key, int $depth = 512)

    Returns true if the JSON pointer $key could be found.

    array|stdClass|string|float|int|bool|null
    simdjson_key_value(string $json, string $key, bool $associative = false, int $depth = 512)

    Returns the value at the json pointer $key

    int
    similar_text(string $string1, string $string2, float $percent)

    Calculate the similarity between two strings

    simplexml_import_dom(SimpleXMLElement|DOMNode $node, string|null $class_name = "SimpleXMLElement")

    Get a SimpleXMLElement object from a DOM node.

    SimpleXMLElement|false
    simplexml_load_file(string $filename, string|null $class_name = "SimpleXMLElement", int $options = 0, string $namespace_or_prefix = "", bool $is_prefix = false)

    Interprets an XML file into an object

    SimpleXMLElement|false
    simplexml_load_string(string $data, string|null $class_name = "SimpleXMLElement", int $options = 0, string $namespace_or_prefix = "", bool $is_prefix = false)

    Interprets a string of XML into an object

    float
    sin(float $num)

    Sine

    float
    sinh(float $num)

    Hyperbolic sine

    int
    sizeof(Countable|array $value, int $mode = COUNT_NORMAL)

    Alias: {\count}

    int
    sleep(int $seconds)

    Delays the program execution for the given number of seconds

    string|false
    snappy_compress(string $data)

    No description

    string|false
    snappy_uncompress(string $data)

    No description

    string|false
    snmp2_get(string $host, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch an SNMP object

    string|false
    snmp2_getnext(string $host, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch the SNMP object which follows the given object id

    array|false
    snmp2_real_walk(string $host, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Return all objects including their respective object ID within the specified one

    bool
    snmp2_set(string $host, string $community, string $object_id, string $type, string $value, int $timeout = 1000000, int $retries = 5)

    Set the value of an SNMP object

    array
    snmp2_walk(string $host, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch all the SNMP objects from an agent

    string|false
    snmp3_get(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch an SNMP object

    string|false
    snmp3_getnext(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch the SNMP object which follows the given object id

    array
    snmp3_real_walk(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id, int $timeout = null, int $retries = null)

    Return all objects including their respective object ID within the specified one

    bool
    snmp3_set(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id, string $type, string $value, int $timeout = 1000000, int $retries = 5)

    Set the value of an SNMP object

    array
    snmp3_walk(string $host, string $sec_name, string $sec_level, string $auth_protocol, string $auth_passphrase, string $priv_protocol, string $priv_passphrase, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch all the SNMP objects from an agent

    bool
    snmp_get_quick_print()

    Fetches the current value of the UCD library's quick_print setting

    int
    snmp_get_valueretrieval()

    Return the method how the SNMP values will be returned

    bool
    snmp_read_mib(string $filename)

    Reads and parses a MIB file into the active MIB tree

    bool
    snmp_set_enum_print(int $enum_print)

    Return all values that are enums with their enum value instead of the raw integer

    void
    snmp_set_oid_numeric_print(int $oid_format)

    Set the oid output format

    bool
    snmp_set_oid_output_format(int $oid_format = SNMP_OID_OUTPUT_MODULE)

    Set the OID output format

    bool
    snmp_set_quick_print(bool $quick_print)

    Set the value of quick_print within the UCD SNMP library

    bool
    snmp_set_valueretrieval(int $method)

    Specify the method how the SNMP values will be returned

    string|false
    snmpget(string $hostname, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch an SNMP object

    string|false
    snmpgetnext(string $host, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch the SNMP object which follows the given object id

    array|false
    snmprealwalk(string $host, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Return all objects including their respective object ID within the specified one

    bool
    snmpset(string $host, string $community, string $object_id, string $type, mixed $value, int $timeout = 1000000, int $retries = 5)

    Set the value of an SNMP object

    array
    snmpwalk(string $hostname, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Fetch all the SNMP objects from an agent

    array
    snmpwalkoid(string $hostname, string $community, string $object_id, int $timeout = 1000000, int $retries = 5)

    Query for a tree of information about a network entity

    Socket|false
    socket_accept(Socket $socket)

    Accepts a connection on a socket

    Socket|false
    socket_addrinfo_bind(AddressInfo $address)
    Since: 7.2

    (PHP 7 >= 7.2.0)
    Create a Socket resource, and bind it to the provided AddrInfo resource.
    The return value of this function may be used with {socket_listen()}.

    Socket|false
    socket_addrinfo_connect(AddressInfo $address)
    Since: 7.2

    Create a Socket resource, and connect it to the provided AddrInfo resource.
    The return value of this function may be used with the rest of the socket functions.

    array
    socket_addrinfo_explain(AddressInfo $address)
    Since: 7.2

    (PHP 7 >= 7.2.0)
    Get information about addrinfo

    array|false
    socket_addrinfo_lookup(string $host, string|null $service, array $hints = [])
    Since: 7.2

    (PHP 7 >= 7.2.0)
    Get array with contents of getaddrinfo about the given hostname.

    bool
    socket_atmark(Socket $socket)
    Since: 8.3

    No description

    bool
    socket_bind(Socket $socket, string $address, int $port = 0)

    Binds a name to a socket

    void
    socket_clear_error(Socket|null $socket = null)

    Clears the error on the socket or the last error code

    void
    socket_close(Socket $socket)

    Closes a socket resource

    int|null
    socket_cmsg_space(int $level, int $type, int $num = 0)
    Since: 5.5

    Calculate message buffer size

    bool
    socket_connect(Socket $socket, string $address, int|null $port = null)

    Initiates a connection on a socket

    Socket|false
    socket_create(int $domain, int $type, int $protocol)

    Create a socket (endpoint for communication)

    Socket|false
    socket_create_listen(int $port, int $backlog = 128)

    Opens a socket on port to accept connections

    bool
    socket_create_pair(int $domain, int $type, int $protocol, array $pair)

    Creates a pair of indistinguishable sockets and stores them in an array

    resource|Socket|false
    socket_export_stream(Socket $socket)

    No description

    array|int|false
    socket_get_option(Socket $socket, int $level, int $option)

    Gets socket options for the socket

    array
    socket_get_status(resource $stream)

    Alias: {stream_get_meta_data} Retrieves header/meta data from streams/file pointers

    array|int|false
    socket_getopt(Socket $socket, int $level, int $option)

    Alias of {socket_get_option}

    bool
    socket_getpeername(Socket $socket, string $address, int $port = null)

    Queries the remote side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type

    bool
    socket_getsockname(Socket $socket, string $address, int $port = null)

    Queries the local side of the given socket which may either result in host/port or in a Unix filesystem path, dependent on its type

    Socket|false
    socket_import_stream(resource|Socket $stream)
    Since: 5.4

    Import a stream

    int
    socket_last_error(Socket|null $socket = null)

    Returns the last error on the socket

    bool
    socket_listen(Socket $socket, int $backlog = 0)

    Listens for a connection on a socket

    string|false
    socket_read(Socket $socket, int $length, int $mode = PHP_BINARY_READ)

    Reads a maximum of length bytes from a socket

    int|false
    socket_recv(Socket $socket, string $data, int $length, int $flags)

    Receives data from a connected socket

    int|false
    socket_recvfrom(Socket $socket, string $data, int $length, int $flags, string $address, int $port = null)

    Receives data from a socket whether or not it is connection-oriented

    int|false
    socket_recvmsg(Socket $socket, array $message, int $flags = 0)
    Since: 5.5

    Read a message

    int|false
    socket_select(array|null $read, array|null $write, array|null $except, int|null $seconds, int $microseconds = 0)

    Runs the select() system call on the given arrays of sockets with a specified timeout

    int|false
    socket_send(Socket $socket, string $data, int $length, int $flags)

    Sends data to a connected socket

    int|false
    socket_sendmsg(Socket $socket, array $message, int $flags = 0)
    Since: 5.5

    (PHP 5 >=5.5.0)
    Send a message

    int|false
    socket_sendto(Socket $socket, string $data, int $length, int $flags, string $address, int|null $port = null)

    Sends a message to a socket, whether it is connected or not

    bool
    socket_set_block(Socket $socket)

    Sets blocking mode on a socket resource

    bool
    socket_set_blocking(resource $stream, bool $enable)

    Alias: {stream_set_blocking}

    bool
    socket_set_nonblock(Socket $socket)

    Sets nonblocking mode for file descriptor fd

    bool
    socket_set_option(Socket $socket, int $level, int $option, mixed $value)

    Sets socket options for the socket

    bool
    socket_set_timeout(resource $stream, int $seconds, int $microseconds = 0)

    Alias: {stream_set_timeout} Set timeout period on a stream

    bool
    socket_setopt(Socket $socket, int $level, int $option, $value)

    Alias of {socket_set_option}

    bool
    socket_shutdown(Socket $socket, int $mode = 2)

    Shuts down a socket for receiving, sending, or both

    string
    socket_strerror(int $error_code)

    Return a string describing a socket error

    int|false
    socket_write(Socket $socket, string $data, int|null $length = null)

    Write to a socket

    string|false
    socket_wsaprotocol_info_export(resource|Socket $socket, int $target_pid)
    Since: 7.3

    Exports the WSAPROTOCOL_INFO Structure

    resource|Socket|false
    socket_wsaprotocol_info_import(string $info_id)
    Since: 7.3

    Imports a Socket from another Process

    bool
    socket_wsaprotocol_info_release(string $info_id)
    Since: 7.3

    Releases an exported WSAPROTOCOL_INFO Structure

    void
    sodium_add(string $string1, string $string2)
    Since: 7.2

    Add the right operand to the left

    string
    sodium_base642bin(string $string, int $id, string $ignore = '')
    Since: 7.2

    No description

    string
    sodium_bin2base64(string $string, int $id)
    Since: 7.2

    No description

    string
    sodium_bin2hex(string $string)
    Since: 7.2

    Convert to hex without side-chanels

    int
    sodium_compare(string $string1, string $string2)
    Since: 7.2

    Compare two strings in constant time

    string|false
    sodium_crypto_aead_aegis128l_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key)
    Since: 8.4

    No description

    string
    sodium_crypto_aead_aegis128l_encrypt(string $message, string $additional_data, string $nonce, string $key)
    Since: 8.4

    No description

    string
    sodium_crypto_aead_aegis128l_keygen()
    Since: 8.4

    No description

    string|false
    sodium_crypto_aead_aegis256_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key)
    Since: 8.4

    No description

    string
    sodium_crypto_aead_aegis256_encrypt(string $message, string $additional_data, string $nonce, string $key)
    Since: 8.4

    No description

    string
    sodium_crypto_aead_aegis256_keygen()
    Since: 8.4

    No description

    string|false
    sodium_crypto_aead_aes256gcm_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key)
    Since: 7.2

    Authenticated Encryption with Associated Data (decrypt) AES-256-GCM

    string
    sodium_crypto_aead_aes256gcm_encrypt(string $message, string $additional_data, string $nonce, string $key)
    Since: 7.2

    Authenticated Encryption with Associated Data (encrypt) AES-256-GCM

    bool
    sodium_crypto_aead_aes256gcm_is_available()
    Since: 7.2

    Can you access AES-256-GCM? This is only available if you have supported hardware.

    string
    sodium_crypto_aead_aes256gcm_keygen()
    Since: 7.2

    Creates a random key

    string|false
    sodium_crypto_aead_chacha20poly1305_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key)
    Since: 7.2

    Authenticated Encryption with Associated Data (decrypt) ChaCha20 + Poly1305

    string
    sodium_crypto_aead_chacha20poly1305_encrypt(string $message, string $additional_data, string $nonce, string $key)
    Since: 7.2

    Authenticated Encryption with Associated Data (encrypt) ChaCha20 + Poly1305

    string|false
    sodium_crypto_aead_chacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key)
    Since: 7.2

    Authenticated Encryption with Associated Data (decrypt) ChaCha20 + Poly1305 (IETF version)

    string
    sodium_crypto_aead_chacha20poly1305_ietf_encrypt(string $message, string $additional_data, string $nonce, string $key)
    Since: 7.2

    Authenticated Encryption with Associated Data (encrypt) ChaCha20 + Poly1305 (IETF version)

    string
    sodium_crypto_aead_chacha20poly1305_ietf_keygen()
    Since: 7.2

    Creates a random key

    string
    sodium_crypto_aead_chacha20poly1305_keygen()
    Since: 7.2

    Creates a random key It is equivalent to calling random_bytes() but improves code clarity and can prevent misuse by ensuring that the provided key length is always be correct.

    string|false
    sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key)
    Since: 7.2

    No description

    string
    sodium_crypto_aead_xchacha20poly1305_ietf_encrypt(string $message, string $additional_data, string $nonce, string $key)
    Since: 7.2 https://www.php.net/manual/en/function.sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.php

    No description

    string
    sodium_crypto_aead_xchacha20poly1305_ietf_keygen()
    Since: 7.2

    No description

    string
    sodium_crypto_auth(string $message, string $key)
    Since: 7.2

    Secret-key message authentication HMAC SHA-512/256

    string
    sodium_crypto_auth_keygen()
    Since: 7.2

    Get random bytes for key

    bool
    sodium_crypto_auth_verify(string $mac, string $message, string $key)
    Since: 7.2

    Secret-key message verification HMAC SHA-512/256

    string
    sodium_crypto_box(string $message, string $nonce, string $key_pair)
    Since: 7.2

    Public-key authenticated encryption (encrypt) X25519 + Xsalsa20 + Poly1305

    string
    sodium_crypto_box_keypair()
    Since: 7.2

    Generate an X25519 keypair for use with the sodium_crypto_box API

    string
    sodium_crypto_box_keypair_from_secretkey_and_publickey(string $secret_key, string $public_key)
    Since: 7.2

    Create an X25519 keypair from an X25519 secret key and X25519 public key

    string|false
    sodium_crypto_box_open(string $ciphertext, string $nonce, string $key_pair)
    Since: 7.2

    Public-key authenticated encryption (decrypt) X25519 + Xsalsa20 + Poly1305

    string
    sodium_crypto_box_publickey(string $key_pair)
    Since: 7.2

    Get an X25519 public key from an X25519 keypair

    string
    sodium_crypto_box_publickey_from_secretkey(string $secret_key)
    Since: 7.2

    Derive an X25519 public key from an X25519 secret key

    string
    sodium_crypto_box_seal(string $message, string $public_key)
    Since: 7.2

    Anonymous public-key encryption (encrypt) X25519 + Xsalsa20 + Poly1305 + BLAKE2b

    string|false
    sodium_crypto_box_seal_open(string $ciphertext, string $key_pair)
    Since: 7.2

    Anonymous public-key encryption (decrypt) X25519 + Xsalsa20 + Poly1305 + BLAKE2b

    string
    sodium_crypto_box_secretkey(string $key_pair)
    Since: 7.2

    Extract the X25519 secret key from an X25519 keypair

    string
    sodium_crypto_box_seed_keypair(string $seed)
    Since: 7.2

    Derive an X25519 keypair for use with the sodium_crypto_box API from a seed

    string
    sodium_crypto_core_ristretto255_add(string $p, string $q)

    No description

    string
    sodium_crypto_core_ristretto255_from_hash(string $s)

    No description

    bool
    sodium_crypto_core_ristretto255_is_valid_point(string $s)

    No description

    string
    sodium_crypto_core_ristretto255_random()

    No description

    string
    sodium_crypto_core_ristretto255_scalar_add(string $x, string $y)

    No description

    string
    sodium_crypto_core_ristretto255_scalar_complement(string $s)

    No description

    string
    sodium_crypto_core_ristretto255_scalar_invert(string $s)

    No description

    string
    sodium_crypto_core_ristretto255_scalar_mul(string $x, string $y)

    No description

    string
    sodium_crypto_core_ristretto255_scalar_negate(string $s)

    No description

    string
    sodium_crypto_core_ristretto255_scalar_random()

    No description

    string
    sodium_crypto_core_ristretto255_scalar_reduce(string $s)

    No description

    string
    sodium_crypto_core_ristretto255_scalar_sub(string $x, string $y)

    No description

    string
    sodium_crypto_core_ristretto255_sub(string $p, string $q)

    No description

    string
    sodium_crypto_generichash(string $message, string $key = '', int $length = 32)
    Since: 7.2

    Fast and secure cryptographic hash

    string
    sodium_crypto_generichash_final(string $state, int $length = 32)
    Since: 7.2

    Get the final hash BLAKE2b

    string
    sodium_crypto_generichash_init(string $key = '', int $length = 32)
    Since: 7.2

    Create a new hash state (e.g. to use for streams) BLAKE2b

    string
    sodium_crypto_generichash_keygen()
    Since: 7.2

    Get random bytes for key

    bool
    sodium_crypto_generichash_update(string $state, string $message)
    Since: 7.2

    Update the hash state with some data BLAKE2b

    string
    sodium_crypto_kdf_derive_from_key(int $subkey_length, int $subkey_id, string $context, string $key)
    Since: 7.2

    No description

    string
    sodium_crypto_kdf_keygen()
    Since: 7.2

    Get random bytes for key

    string
    sodium_crypto_kx(string $secret_key, string $public_key, string $client_publickey, string $server_publickey)
    Since: 7.2

    Elliptic Curve Diffie Hellman Key Exchange X25519

    array
    sodium_crypto_kx_client_session_keys(string $client_key_pair, string $server_key)
    Since: 7.2

    No description

    string
    sodium_crypto_kx_keypair()
    Since: 7.2

    No description

    string
    sodium_crypto_kx_publickey(string $key_pair)
    Since: 7.2

    No description

    string
    sodium_crypto_kx_secretkey(string $key_pair)
    Since: 7.2

    No description

    string
    sodium_crypto_kx_seed_keypair(string $seed)
    Since: 7.2

    No description

    array
    sodium_crypto_kx_server_session_keys(string $server_key_pair, string $client_key)
    Since: 7.2

    No description

    string
    sodium_crypto_pwhash(int $length, string $password, string $salt, int $opslimit, int $memlimit, int $algo = SODIUM_CRYPTO_PWHASH_ALG_DEFAULT)
    Since: 7.2

    Secure password-based key derivation function Argon2i

    string
    sodium_crypto_pwhash_scryptsalsa208sha256(int $length, string $password, string $salt, int $opslimit, int $memlimit, $alg = null)
    Since: 7.2

    Secure password-based key derivation function Scrypt

    string
    sodium_crypto_pwhash_scryptsalsa208sha256_str(string $password, int $opslimit, int $memlimit)
    Since: 7.2

    Get a formatted password hash (for storage) Scrypt

    bool
    sodium_crypto_pwhash_scryptsalsa208sha256_str_verify(string $hash, string $password)
    Since: 7.2

    Verify a password against a hash Scrypt

    string
    sodium_crypto_pwhash_str(string $password, int $opslimit, int $memlimit)
    Since: 7.2

    Get a formatted password hash (for storage) Argon2i

    bool
    sodium_crypto_pwhash_str_needs_rehash(string $password, int $opslimit, int $memlimit)
    Since: 7.2

    No description

    bool
    sodium_crypto_pwhash_str_verify(string $hash, string $password)
    Since: 7.2

    Verify a password against a hash Argon2i

    string
    sodium_crypto_scalarmult(string $n, string $p)
    Since: 7.2

    Elliptic Curve Diffie Hellman over Curve25519 X25519

    string
    sodium_crypto_scalarmult_base(string $secret_key, $string_2)
    Since: 7.2

    Scalar multiplication of the base point and your key

    string
    sodium_crypto_scalarmult_ristretto255(string $n, string $p)

    No description

    string
    sodium_crypto_scalarmult_ristretto255_base(string $n)

    No description

    string
    sodium_crypto_secretbox(string $message, string $nonce, string $key)
    Since: 7.2

    Authenticated secret-key encryption (encrypt) Xsals20 + Poly1305

    string
    sodium_crypto_secretbox_keygen()
    Since: 7.2

    Creates a random key

    string|false
    sodium_crypto_secretbox_open(string $ciphertext, string $nonce, string $key)
    Since: 7.2

    Authenticated secret-key encryption (decrypt) Xsals20 + Poly1305

    string
    sodium_crypto_secretstream_xchacha20poly1305_init_pull(string $header, string $key)
    Since: 7.2

    No description

    array
    sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key)
    Since: 7.2

    No description

    string
    sodium_crypto_secretstream_xchacha20poly1305_keygen()
    Since: 7.2

    No description

    array|false
    sodium_crypto_secretstream_xchacha20poly1305_pull(string $state, string $ciphertext, string $additional_data = "")

    No description

    string
    sodium_crypto_secretstream_xchacha20poly1305_push(string $state, string $message, string $additional_data = "", int $tag = SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_MESSAGE)

    No description

    void
    sodium_crypto_secretstream_xchacha20poly1305_rekey(string $state)
    Since: 7.2

    No description

    string
    sodium_crypto_shorthash(string $message, string $key)
    Since: 7.2

    A short keyed hash suitable for data structures SipHash-2-4

    string
    sodium_crypto_shorthash_keygen()
    Since: 7.2

    Get random bytes for key

    string
    sodium_crypto_sign(string $message, string $secret_key)
    Since: 7.2

    Digital Signature Ed25519

    string
    sodium_crypto_sign_detached(string $message, string $secret_key)
    Since: 7.2

    Digital Signature (detached) Ed25519

    string
    sodium_crypto_sign_ed25519_pk_to_curve25519(string $public_key)
    Since: 7.2

    Convert an Ed25519 public key to an X25519 public key

    string
    sodium_crypto_sign_ed25519_sk_to_curve25519(string $secret_key)
    Since: 7.2

    Convert an Ed25519 secret key to an X25519 secret key

    string
    sodium_crypto_sign_keypair()
    Since: 7.2

    Generate an Ed25519 keypair for use with the crypto_sign API

    string
    sodium_crypto_sign_keypair_from_secretkey_and_publickey(string $secret_key, string $public_key)
    Since: 7.2

    Create an Ed25519 keypair from an Ed25519 secret key + Ed25519 public key

    string|false
    sodium_crypto_sign_open(string $signed_message, string $public_key)
    Since: 7.2

    Verify a signed message and return the plaintext

    string
    sodium_crypto_sign_publickey(string $key_pair)
    Since: 7.2

    Get the public key from an Ed25519 keypair

    string
    sodium_crypto_sign_publickey_from_secretkey(string $secret_key)
    Since: 7.2

    Derive an Ed25519 public key from an Ed25519 secret key

    string
    sodium_crypto_sign_secretkey(string $key_pair)
    Since: 7.2

    Get the secret key from an Ed25519 keypair

    string
    sodium_crypto_sign_seed_keypair(string $seed)
    Since: 7.2

    Derive an Ed25519 keypair for use with the crypto_sign API from a seed

    bool
    sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key)
    Since: 7.2

    Verify a detached signature

    string
    sodium_crypto_stream(int $length, string $nonce, string $key)
    Since: 7.2

    Create a keystream from a key and nonce Xsalsa20

    string
    sodium_crypto_stream_keygen()
    Since: 7.2

    Get random bytes for key

    string
    sodium_crypto_stream_xchacha20(int $length, string $nonce, string $key)

    No description

    string
    sodium_crypto_stream_xchacha20_keygen()

    No description

    string
    sodium_crypto_stream_xchacha20_xor(string $message, string $nonce, string $key)

    No description

    string
    sodium_crypto_stream_xchacha20_xor_ic(string $message, string $nonce, int $counter, string $key)

    No description

    string
    sodium_crypto_stream_xor(string $message, string $nonce, string $key)
    Since: 7.2

    Encrypt a message using a stream cipher Xsalsa20

    string
    sodium_hex2bin(string $string, string $ignore = '')
    Since: 7.2

    Convert from hex without side-chanels

    void
    sodium_increment(string $string)
    Since: 7.2

    Increment a string in little-endian

    int
    sodium_library_version_major()
    Since: 7.2

    Get the true major version of libsodium

    int
    sodium_library_version_minor()
    Since: 7.2

    Get the true minor version of libsodium

    int
    sodium_memcmp(string $string1, string $string2)
    Since: 7.2

    Compare two strings in constant time

    void
    sodium_memzero(string $string)
    Since: 7.2

    Wipe a buffer

    string
    sodium_pad(string $string, int $block_size)
    Since: 7.2

    Add padding data

    string
    sodium_randombytes_buf(int $length)
    Since: 7.2

    Generate a string of random bytes /dev/urandom

    int
    sodium_randombytes_random16()
    Since: 7.2

    Generate a 16-bit integer /dev/urandom

    int
    sodium_randombytes_uniform(int $upperBoundNonInclusive)
    Since: 7.2

    Generate an unbiased random integer between 0 and a specified value /dev/urandom

    string
    sodium_unpad(string $string, int $block_size)
    Since: 7.2

    Remove padding data

    string
    sodium_version_string()
    Since: 7.2

    Get the version string

    string|false
    solr_get_version()

    (PECL solr >= 0.9.1)
    Returns the current version of the Apache Solr extension

    sort(array $array, int $flags = SORT_REGULAR)

    Sort an array

    string
    soundex(string $string)

    Calculate the soundex key of a string

    void
    spl_autoload(string $class, string|null $file_extensions)
    Since: 5.1.2

    Default implementation for __autoload()

    void
    spl_autoload_call(string $class)
    Since: 5.1.2

    Try all registered __autoload() functions to load the requested class

    string
    spl_autoload_extensions(string|null $file_extensions)
    Since: 5.1.2

    Register and return default file extensions for spl_autoload

    array|false
    spl_autoload_functions()
    Since: 5.1.2

    Return all registered __autoload() functions

    bool
    spl_autoload_register(callable|null $callback, bool $throw = true, bool $prepend = false)
    Since: 5.1.2

    Register given function as __autoload() implementation

    bool
    spl_autoload_unregister(callable $callback)
    Since: 5.1.2

    Unregister given function as __autoload() implementation

    array
    spl_classes()

    Return available SPL classes

    string
    spl_object_hash(object $object)

    Return hash id for given object

    int
    spl_object_id(object $object)
    Since: 7.2

    return the integer object handle for given object

    array
    split(string $pattern, string $string, int $limit = -1)

    Split string into array by regular expression

    array
    spliti(string $pattern, string $string, int $limit = -1)

    Split string into array by regular expression case insensitive

    string
    sprintf(string $format, mixed ...$values)

    Return a formatted string

    string
    sql_regcase(string $string)

    Make regular expression for case insensitive match

    array|false
    sqlite_array_query(resource $dbhandle, string $query, int $result_type = null, bool $decode_binary = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Execute a query against a given database and returns an array

    void
    sqlite_busy_timeout(resource $dbhandle, int $milliseconds)

    (PHP 5, PECL sqlite >= 1.0.0)
    Set busy timeout duration, or disable busy handlers

    int
    sqlite_changes($db)

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the number of rows that were changed by the most recent SQL statement

    void
    sqlite_close(resource $dbhandle)

    (PHP 5, PECL sqlite >= 1.0.0)
    Closes an open SQLite database

    mixed
    sqlite_column(resource $result, mixed $index_or_name, bool $decode_binary = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Fetches a column from the current row of a result set

    void
    sqlite_create_aggregate(resource $dbhandle, string $function_name, callable $step_func, callable $finalize_func, int $num_args = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Register an aggregating UDF for use in SQL statements

    void
    sqlite_create_function(resource $dbhandle, string $function_name, callable $callback, int $num_args = null)

    (PHP 5, sqlite >= 1.0.0)
    Registers a "regular" User Defined Function for use in SQL statements

    array|false
    sqlite_current(resource $result, int $result_type = null, bool $decode_binary = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Fetches the current row from a result set as an array

    string
    sqlite_error_string(int $error_code)

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the textual description of an error code

    string
    sqlite_escape_string(string $item)

    (PHP 5, PECL sqlite >= 1.0.0)
    Escapes a string for use as a query parameter

    bool
    sqlite_exec(resource $dbhandle, string $query, string $error_msg = null)

    (PHP 5, PECL sqlite >= 1.0.3)
    Executes a result-less query against a given database

    sqlite_factory(string $filename, int $mode = null, string $error_message = null)

    Opens a SQLite database and returns a SQLiteDatabase object

    array
    sqlite_fetch_all(int $result_type = null, bool $decode_binary = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Fetches all rows from a result set as an array of arrays

    array|false
    sqlite_fetch_array(resource $result, int $result_type = SQLITE_BOTH, bool $decode_binary = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Fetches the next row from a result set as an array

    array|false
    sqlite_fetch_column_types(resource $dbhandle, string $table_name, int $result_type = null)

    Return an array of column types from a particular table

    object
    sqlite_fetch_object(resource $result, string $class_name = null, array|null $ctor_params = null, bool $decode_binary = null)

    Fetches the next row from a result set as an object

    string
    sqlite_fetch_single(resource $result, bool $decode_binary = null)

    (PHP 5, PECL sqlite >= 1.0.1)
    Fetches the first column of a result set as a string

    string
    sqlite_fetch_string(resource $result, bool $decode_binary)

    (PHP 5, PECL sqlite >= 1.0.0)
    Alias: {sqlite_fetch_single}

    string
    sqlite_field_name(resource $result, int $field_index)

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the name of a particular field

    bool
    sqlite_has_more(resource $result)

    (PHP 5, PECL sqlite >= 1.0.0)
    Finds whether or not more rows are available

    bool
    sqlite_has_prev(resource $result)

    Returns whether or not a previous row is available

    int
    sqlite_last_error(resource $dbhandle)

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the error code of the last error for a database

    int
    sqlite_last_insert_rowid(resource $dbhandle)

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the rowid of the most recently inserted row

    string
    sqlite_libencoding()

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the encoding of the linked SQLite library

    string
    sqlite_libversion()

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the version of the linked SQLite library

    bool
    sqlite_next(resource $result)

    (PHP 5, PECL sqlite >= 1.0.0)
    Seek to the next row number

    int
    sqlite_num_fields(resource $result)

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the number of fields in a result set

    int
    sqlite_num_rows(resource $result)

    (PHP 5, PECL sqlite >= 1.0.0)
    Returns the number of rows in a buffered result set

    resource|false
    sqlite_open(string $filename, int $mode = null, string $error_message = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Opens a SQLite database and create the database if it does not exist

    resource|false
    sqlite_popen(string $filename, int $mode = null, string $error_message = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Opens a persistent handle to an SQLite database and create the database if it does not exist

    bool
    sqlite_prev(resource $result)

    Seek to the previous row number of a result set

    resource|false
    sqlite_query(string|resource $query, resource|string $dbhandle, int $result_type = SQLITE_BOTH, string $error_msg = null)

    (PHP 5 < 5.4.0, PECL sqlite >= 1.0.0)
    Executes a query against a given database and returns a result handle there are two signatures with $query first and with $dbhandle first.

    bool
    sqlite_rewind(resource $result)

    (PHP 5, PECL sqlite >= 1.0.0)
    Seek to the first row number

    bool
    sqlite_seek(resource $result, int $rownum)

    (PHP 5, PECL sqlite >= 1.0.0)
    Seek to a particular row number of a buffered result set

    array
    sqlite_single_query(resource $db, string $query, bool $first_row_only = null, bool $decode_binary = null)

    (PHP 5, PECL sqlite >= 1.0.1)
    Executes a query and returns either an array for one single column or the value of the first row

    string
    sqlite_udf_decode_binary(string $data)

    (PHP 5, PECL sqlite >= 1.0.0)
    Decode binary data passed as parameters to an UDF

    string
    sqlite_udf_encode_binary(string $data)

    (PHP 5, PECL sqlite >= 1.0.0)
    Encode binary data before returning it from an UDF

    sqlite_unbuffered_query(resource $dbhandle, string $query, int $result_type = SQLITE_BOTH, string $error_msg = null)

    (PHP 5, PECL sqlite >= 1.0.0)
    Execute a query that does not prefetch and buffer all data

    bool
    sqlite_valid(resource $result)

    Returns whether more rows are available

    bool
    sqlsrv_begin_transaction(resource $conn)

    Begins a database transaction.

    bool
    sqlsrv_cancel(resource $stmt)

    Cancels a statement; discards any pending results for the statement.

    array|false
    sqlsrv_client_info(resource $conn)

    Provides information about the client.

    bool
    sqlsrv_close(resource|null $conn)

    Closes a connection. Frees all resources associated with the connection.

    bool
    sqlsrv_commit(resource $conn)

    Commits a transaction that was begun with sqlsrv_begin_transaction.

    bool
    sqlsrv_configure(string $setting, mixed $value)

    Changes the driver error handling and logging configurations.

    resource|false
    sqlsrv_connect(string $server_name, array $connection_info = [])

    Creates and opens a connection.

    array|null
    sqlsrv_errors(int $errorsAndOrWarnings = SQLSRV_ERR_ALL)

    Returns error and/or warning information about the last operation.

    bool
    sqlsrv_execute(resource $stmt)

    Executes a statement prepared with {sqlsrv_prepare}

    bool|null
    sqlsrv_fetch(resource|null $stmt, int|null $row = null, int|null $offset = null)

    Makes the next row in a result set available for reading.

    array|null|false
    sqlsrv_fetch_array(resource|null $stmt, int $fetch_type = null, int|null $row = null, int|null $offset = null)

    Retrieves the next row of data as a numerically indexed array, an associative array, or both.

    object|false|null
    sqlsrv_fetch_object(resource $stmt, string|null $class_name = null, array|null $ctor_params = null, int|null $row = null, int|null $offset = null)

    Retrieves the next row of data as an object.

    array|false
    sqlsrv_field_metadata(resource $stmt)

    Returns field metadata.

    bool
    sqlsrv_free_stmt(resource|null $stmt)

    Closes a statement. Frees all resources associated with the statement.

    mixed|false
    sqlsrv_get_config(string $setting)

    Returns the current value of the specified configuration setting.

    mixed
    sqlsrv_get_field(resource $stmt, int $field_index, int $get_as_type = null)

    Retrieves a field in the current row by index. The PHP return type can be specified.

    bool
    sqlsrv_has_rows(resource $stmt)

    Detects if a result set has one or more rows.

    bool|null
    sqlsrv_next_result(resource $stmt)

    Makes the next result of the specified statement active.

    int|false
    sqlsrv_num_fields(resource $stmt)

    Retrieves the number of fields (columns) on a statemen.

    int|false
    sqlsrv_num_rows(resource $stmt)

    Retrieves the number of rows in a result set.

    resource|false
    sqlsrv_prepare(resource $conn, string $tsql, array $params = [], array $options = [])

    Prepares a Transact-SQL query without executing it. Implicitly binds parameters.

    resource|false
    sqlsrv_query(resource $conn, string $tsql, array $params = [], array $options = [])

    Prepares and executes a Transact-SQL query.

    bool
    sqlsrv_rollback(resource $conn)

    Rolls back a transaction that was begun with {sqlsrv_begin_transaction}.

    int|false
    sqlsrv_rows_affected(resource $stmt)

    Returns the number of modified rows.

    bool
    sqlsrv_send_stream_data(resource $stmt)

    Sends up to eight kilobytes (8 KB) of data to the server with each call to the function.

    array
    sqlsrv_server_info(resource $conn)

    Returns information about the server.

    float
    sqrt(float $num)

    Square root

    void
    srand(int|null $seed = null, int $mode = MT_RAND_MT19937)

    Seed the random number generator

    Note: As of PHP 7.1.0, {srand()} has been made an alias of {mt_srand()}.

    array|int|null
    sscanf(string $string, string $format, mixed ...$vars)

    Parses input from a string according to a format

    bool
    ssh2_auth_agent(resource $session, string $username)

    (PECL ssh2 >= 0.12)
    ssh2_auth_agent — Authenticate over SSH using the ssh agent

    bool
    ssh2_auth_hostbased_file(resource $session, string $username, string $hostname, string $pubkeyfile, string $privkeyfile, string $passphrase = null, string $local_username = null)

    (PECL ssh2 >= 0.9.0)
    Authenticate using a public hostkey

    array|bool
    ssh2_auth_none(resource $session, string $username)

    (PECL ssh2 >= 0.9.0)
    Authenticate as "none"

    bool
    ssh2_auth_password(resource $session, string $username, string $password)

    (PECL ssh2 >= 0.9.0)
    Authenticate over SSH using a plain password

    bool
    ssh2_auth_pubkey_file(resource $session, string $username, string $pubkeyfile, string $privkeyfile, string $passphrase = null)

    (PECL ssh2 >= 0.9.0)
    Authenticate using a public key

    resource|false
    ssh2_connect(string $host, int $port = 22, array|null $methods = null, array|null $callbacks = null)

    (PECL ssh2 >= 0.9.0)
    Connect to an SSH server

    bool
    ssh2_disconnect(resource $session)

    (PECL ssh2 >= 1.0)
    Close a connection to a remote SSH server

    resource|false
    ssh2_exec(resource $session, string $command, null|string $pty = null, array|null $env = null, null|int $width = null, null|int $height = null, null|int $width_height_type = null)

    (PECL ssh2 >= 0.9.0)
    Execute a command on a remote server

    resource
    ssh2_fetch_stream(resource $channel, int $streamid)

    (PECL ssh2 >= 0.9.0)
    Fetch an extended data stream

    string
    ssh2_fingerprint(resource $session, int $flags = null)

    (PECL ssh2 >= 0.9.0)
    Retrieve fingerprint of remote server

    ssh2_forward_accept()

    No description

    ssh2_forward_listen()

    No description

    array
    ssh2_methods_negotiated(resource $session)

    (PECL ssh2 >= 0.9.0)
    Return list of negotiated methods

    ssh2_poll(array $var1)

    No description

    bool
    ssh2_publickey_add(resource $pkey, string $algoname, string $blob, null|bool $overwrite = null, array|null $attributes = null)

    (PECL ssh2 >= 0.10)
    Add an authorized publickey

    resource|false
    ssh2_publickey_init(resource $session)

    (PECL ssh2 >= 0.10)
    Initialize Publickey subsystem

    array
    ssh2_publickey_list(resource $pkey)

    (PECL ssh2 >= 0.10)
    List currently authorized publickeys

    bool
    ssh2_publickey_remove(resource $pkey, string $algoname, string $blob)

    (PECL ssh2 >= 0.10)
    Remove an authorized publickey

    bool
    ssh2_scp_recv(resource $session, string $remote_file, string $local_file)

    (PECL ssh2 >= 0.9.0)
    Request a file via SCP

    bool
    ssh2_scp_send(resource $session, string $local_file, string $remote_file, int $create_mode = null)

    (PECL ssh2 >= 0.9.0)
    Send a file via SCP

    bool
    ssh2_send_eof(resource $channel)

    (PECL ssh2 >= 1.0)
    Send end-of-file signal through an SSH2 channel

    resource|false
    ssh2_sftp(resource $session)

    (PECL ssh2 >= 0.9.0)
    Initialize SFTP subsystem

    bool
    ssh2_sftp_chmod(resource $sftp, string $filename, int $mode)

    (PECL ssh2 >= 0.12)
    ssh2_sftp_chmod — Changes file mode

    array
    ssh2_sftp_lstat(resource $sftp, string $path)

    (PECL ssh2 >= 0.9.0)
    Stat a symbolic link

    bool
    ssh2_sftp_mkdir(resource $sftp, string $dirname, int $mode = null, bool $recursive = null)

    (PECL ssh2 >= 0.9.0)
    Create a directory

    string
    ssh2_sftp_realpath(resource $sftp, string $filename)

    (PECL ssh2 >= 0.9.0)
    Resolve the realpath of a provided path string

    bool
    ssh2_sftp_rename(resource $sftp, string $from, string $to)

    (PECL ssh2 >= 0.9.0)
    Rename a remote file

    bool
    ssh2_sftp_rmdir(resource $sftp, string $dirname)

    (PECL ssh2 >= 0.9.0)
    Remove a directory

    array|false
    ssh2_sftp_stat(resource $sftp, string $path)

    (PECL ssh2 >= 0.9.0)
    Stat a file on a remote filesystem

    resource
    ssh2_shell(resource $session, string $term_type = null, array|null $env = null, null|int $width = null, null|int $height = null, null|int $width_height_type = null)

    (PECL ssh2 >= 0.9.0)
    Request an interactive shell

    resource
    ssh2_tunnel(resource $session, string $host, int $port)

    (PECL ssh2 >= 0.9.0)
    Open a tunnel through a remote server

    array|false
    stat(string $filename)

    Gives information about a file

    float|false
    stats_absolute_deviation(array $a)

    Returns the absolute deviation of the values in a, or FALSE if a is empty or is not an array.

    float
    stats_cdf_beta(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, alpha, or beta, determined by which.

    float
    stats_cdf_binomial(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, n, or p, determined by which.

    float
    stats_cdf_cauchy(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, x0, or gamma, determined by which.

    float
    stats_cdf_chisquare(float $par1, float $par2, int $which)

    Returns CDF, x, or k, determined by which.

    float
    stats_cdf_exponential(float $par1, float $par2, int $which)

    Returns CDF, x, or lambda, determined by which.

    float
    stats_cdf_f(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, d1, or d2, determined by which.

    float
    stats_cdf_gamma(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, k, or theta, determined by which.

    float
    stats_cdf_laplace(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, mu, or b, determined by which.

    float
    stats_cdf_logistic(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, mu, or s, determined by which.

    float
    stats_cdf_negative_binomial(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, r, or p, determined by which.

    float
    stats_cdf_noncentral_chisquare(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, k, or lambda, determined by which.

    float
    stats_cdf_noncentral_f(float $par1, float $par2, float $par3, float $par4, int $which)

    Returns CDF, x, nu1, nu2, or lambda, determined by which.

    float
    stats_cdf_noncentral_t(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, nu, or mu, determined by which.

    float
    stats_cdf_normal(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, mu, or sigma, determined by which.

    float
    stats_cdf_poisson(float $par1, float $par2, int $which)

    Returns CDF, x, or lambda, determined by which.

    float
    stats_cdf_t(float $par1, float $par2, int $which)

    Returns CDF, x, or nu, determined by which.

    float
    stats_cdf_uniform(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, a, or b, determined by which.

    float
    stats_cdf_weibull(float $par1, float $par2, float $par3, int $which)

    Returns CDF, x, k, or lambda, determined by which.

    float|false
    stats_covariance(array $a, array $b)

    Returns the covariance of a and b, or FALSE on failure.

    float|false
    stats_dens_beta(float $x, float $a, float $b)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_cauchy(float $x, float $ave, float $stdev)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_chisquare(float $x, float $dfr)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_exponential(float $x, float $scale)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_f(float $x, float $dfr1, float $dfr2)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_gamma(float $x, float $shape, float $scale)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_laplace(float $x, float $ave, float $stdev)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_logistic(float $x, float $ave, float $stdev)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_normal(float $x, float $ave, float $stdev)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_pmf_binomial(float $x, float $n, float $pi)

    The probability mass at x or FALSE for failure.

    float|false
    stats_dens_pmf_hypergeometric(float $n1, float $n2, float $N1, float $N2)

    The probability mass at n1 or FALSE for failure.

    float|false
    stats_dens_pmf_negative_binomial(float $x, float $n, float $pi)

    The probability mass at x or FALSE for failure.

    float|false
    stats_dens_pmf_poisson(float $x, float $lb)

    The probability mass at x or FALSE for failure.

    float|false
    stats_dens_t(float $x, float $dfr)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_uniform(float $x, float $a, float $b)

    The probability density at x or FALSE for failure.

    float|false
    stats_dens_weibull(float $x, float $a, float $b)

    The probability density at x or FALSE for failure.

    number|false
    stats_harmonic_mean(array $a)

    Returns the harmonic mean of the values in a, or FALSE if a is empty or is not an array.

    float|false
    stats_kurtosis(array $a)

    Returns the kurtosis of the values in a, or FALSE if a is empty or is not an array.

    float
    stats_rand_gen_beta(float $a, float $b)

    A random deviate

    float
    stats_rand_gen_chisquare(float $df)

    A random deviate

    float
    stats_rand_gen_exponential(float $av)

    A random deviate

    float
    stats_rand_gen_f(float $dfn, float $dfd)

    A random deviate

    float
    stats_rand_gen_funiform(float $low, float $high)

    A random deviate

    float
    stats_rand_gen_gamma(float $a, float $r)

    A random deviate

    int
    stats_rand_gen_ibinomial(int $n, float $pp)

    A random deviate

    int
    stats_rand_gen_ibinomial_negative(int $n, float $p)

    A random deviate, which is the number of failure.

    int
    stats_rand_gen_int()

    A random integer

    int
    stats_rand_gen_ipoisson(float $mu)

    A random deviate

    int
    stats_rand_gen_iuniform(int $low, int $high)

    A random integer

    float
    stats_rand_gen_noncentral_f(float $dfn, float $dfd, float $xnonc)

    A random deviate

    float
    stats_rand_gen_noncentral_t(float $df, float $xnonc)

    A random deviate

    float
    stats_rand_gen_normal(float $av, float $sd)

    A random deviate

    float
    stats_rand_gen_t(float $df)

    A random deviate

    int[]
    stats_rand_get_seeds()

    Returns an array of two integers.

    int[]
    stats_rand_phrase_to_seeds(string $phrase)

    Returns an array of two integers.

    float
    stats_rand_ranf()

    A random floating point number

    void
    stats_rand_setall(int $iseed1, int $iseed2)

    No values are returned.

    float|false
    stats_skew(array $a)

    Returns the skewness of the values in a, or FALSE if a is empty or is not an array.

    float|false
    stats_standard_deviation(array $a, bool $sample = false)

    Returns the standard deviation on success; FALSE on failure.

    float
    stats_stat_binomial_coef(int $x, int $n)

    Returns the binomial coefficient

    float|false
    stats_stat_correlation(array $arr1, array $arr2)

    Returns the Pearson correlation coefficient between arr1 and arr2, or FALSE on failure.

    float
    stats_stat_factorial(int $n)

    The factorial of n.

    float|false
    stats_stat_independent_t(array $arr1, array $arr2)

    Returns the t-value, or FALSE if failure.

    float|false
    stats_stat_innerproduct(array $arr1, array $arr2)

    Returns the inner product of arr1 and arr2, or FALSE on failure.

    float|false
    stats_stat_paired_t(array $arr1, array $arr2)

    Returns the t-value, or FALSE if failure.

    float
    stats_stat_percentile(array $array, float $perc)

    Returns the percentile values of the input array.

    float
    stats_stat_powersum(array $array, float $power)

    Returns the power sum of the input array.

    float|false
    stats_variance(array $a, bool $sample = false)

    Returns the variance on success; FALSE on failure.

    bool
    stomp_abort(resource $link, string $transaction_id)

    Rolls back a transaction in progress

    bool
    stomp_ack(resource $link, string|StompFrame $msg, array $headers = [])

    Acknowledge consumption of a message from a subscription using client acknowledgment

    bool
    stomp_begin(resource $link, string $transaction_id)

    Starts a transaction

    bool
    stomp_close(resource $link)

    Closes stomp connection

    bool
    stomp_commit(resource $link, string $transaction_id)

    Commits a transaction in progress

    resource|false
    stomp_connect(string $broker = null, string $username = null, string $password = null, array $headers = [])

    Opens a connection

    string|false
    stomp_error(resource $link)

    Gets the last stomp error

    string|false
    stomp_get_session_id(resource $link)

    Gets the current stomp session ID

    array
    stomp_get_timeout(resource $link)

    Get timeout

    bool
    stomp_has_frame(resource $link)

    Indicates whether or not there is a frame ready to read

    array|false
    stomp_read_frame(resource $link)

    Reads the next frame

    bool
    stomp_send(resource $link, string $destination, string|StompFrame $msg, array $headers = [])

    Sends a message to a destination in the messaging system

    void
    stomp_set_timeout(resource $link, int $seconds, int $microseconds = 0)

    Set timeout

    bool
    stomp_subscribe(resource $link, string $destination, array $headers = [])

    Registers to listen to a given destination

    bool
    stomp_unsubscribe(resource $link, string $destination, array $headers = [])

    Removes an existing subscription

    string
    stomp_version()

    Get the current version of the stomp extension

    array
    str_getcsv(string $string, string $separator = ",", string $enclosure = '"', string $escape = "\\")

    Parse a CSV string into an array

    array|string
    str_ireplace(array|string $search, array|string $replace, array|string $subject, int $count)

    Case-insensitive version of str_replace.

    string
    str_pad(string $string, int $length, string $pad_string = " ", int $pad_type = STR_PAD_RIGHT)

    Pad a string to a certain length with another string

    string
    str_repeat(string $string, int $times)

    Repeat a string

    array|string
    str_replace(array|string $search, array|string $replace, array|string $subject, int $count)

    Replace all occurrences of the search string with the replacement string

    string
    str_rot13(string $string)

    Perform the rot13 transform on a string

    string
    str_shuffle(string $string)

    Randomly shuffles a string

    array|false
    str_split(string $string, int $length = 1)

    Convert a string to an array

    array|int
    str_word_count(string $string, int $format = 0, string|null $characters)

    Return information about words used in a string

    string|false
    strchr(string $haystack, string $needle, bool $before_needle = false)

    Alias: {strstr}

    int
    strcoll(string $string1, string $string2)

    Locale based string comparison

    int
    strcspn(string $string, string $characters, int $offset = 0, int|null $length)

    Find length of initial segment not matching mask

    void
    stream_bucket_append(resource $brigade, object $bucket)

    Append bucket to brigade

    object|null
    stream_bucket_make_writeable(resource $brigade)

    Return a bucket object from the brigade for operating on

    object
    stream_bucket_new(resource $stream, string $buffer)

    Create a new bucket for use on the current stream

    void
    stream_bucket_prepend(resource $brigade, object $bucket)

    Prepend bucket to brigade

    resource
    stream_context_create(array|null $options, array|null $params)

    Create a stream context

    resource
    stream_context_get_default(array|null $options)

    Retreive the default stream context

    array
    stream_context_get_options(resource $stream_or_context)

    Retrieve options for a stream/wrapper/context

    array
    stream_context_get_params(resource $context)

    Retrieves parameters from a context

    resource
    stream_context_set_default(array $options)

    Set the default stream context

    bool
    stream_context_set_option(resource $stream_or_context, array $options)

    Sets an option for a stream/wrapper/context

    stream_context_set_options($context, array $options)
    Since: 8.3

    No description

    bool
    stream_context_set_params(resource $context, array $params)

    Set parameters for a stream/wrapper/context

    int|false
    stream_copy_to_stream(resource $from, resource $to, int|null $length, int $offset = 0)

    Copies data from one stream to another

    resource|false
    stream_filter_append(resource $stream, string $filter_name, int $mode = 0, mixed $params)

    Attach a filter to a stream

    resource|false
    stream_filter_prepend(resource $stream, string $filter_name, int $mode = 0, mixed $params)

    Attach a filter to a stream

    bool
    stream_filter_register(string $filter_name, string $class)

    Register a user defined stream filter

    bool
    stream_filter_remove(resource $stream_filter)

    Remove a filter from a stream

    string|false
    stream_get_contents(resource $stream, int|null $length = null, int $offset = -1)

    Reads remainder of a stream into a string

    array
    stream_get_filters()

    Retrieve list of registered filters

    string|false
    stream_get_line(resource $stream, int $length, string $ending = '')

    Gets line from stream resource up to a given delimiter

    array
    stream_get_meta_data(resource $stream)

    Retrieves header/meta data from streams/file pointers

    array
    stream_get_transports()

    Retrieve list of registered socket transports

    array
    stream_get_wrappers()

    Retrieve list of registered streams

    bool
    stream_is_local(mixed $stream)
    Since: 5.2.4

    Checks if a stream is a local stream

    bool
    stream_isatty(resource $stream)
    Since: 7.2

    Check if a stream is a TTY

    bool
    stream_register_wrapper(string $protocol, string $class, int $flags = 0)

    Alias: {stream_wrapper_register}

    Register a URL wrapper implemented as a PHP class

    string|false
    stream_resolve_include_path(string $filename)
    Since: 5.3.2

    Resolve filename against the include path according to the same rules as fopen()/include().

    int|false
    stream_select(array|null $read, array|null $write, array|null $except, int|null $seconds, int $microseconds)

    Runs the equivalent of the select() system call on the given arrays of streams with a timeout specified by tv_sec and tv_usec

    bool
    stream_set_blocking(resource $stream, bool $enable)

    Set blocking/non-blocking mode on a stream

    int|false
    stream_set_chunk_size(resource $stream, int $size)
    Since: 5.4

    Set the stream chunk size.

    int
    stream_set_read_buffer(resource $stream, int $size)

    Sets read file buffering on the given stream

    bool
    stream_set_timeout(resource $stream, int $seconds, int $microseconds = 0)

    Set timeout period on a stream

    int
    stream_set_write_buffer(resource $stream, int $size)

    Sets write file buffering on the given stream

    resource|false
    stream_socket_accept(resource $socket, float|null $timeout, string $peer_name)

    Accept a connection on a socket created by {stream_socket_server}

    resource|false
    stream_socket_client(string $address, int $error_code, string $error_message, float|null $timeout, int $flags = STREAM_CLIENT_CONNECT, resource $context)

    Open Internet or Unix domain socket connection

    int|bool
    stream_socket_enable_crypto(resource $stream, bool $enable, int|null $crypto_method, resource $session_stream)

    Turns encryption on/off on an already connected socket

    string|false
    stream_socket_get_name(resource $socket, bool $remote)

    Retrieve the name of the local or remote sockets

    array|false
    stream_socket_pair(int $domain, int $type, int $protocol)

    Creates a pair of connected, indistinguishable socket streams

    string|false
    stream_socket_recvfrom(resource $socket, int $length, int $flags = 0, string $address)

    Receives data from a socket, connected or not

    int|false
    stream_socket_sendto(resource $socket, string $data, int $flags = 0, string $address = '')

    Sends a message to a socket, whether it is connected or not

    resource|false
    stream_socket_server(string $address, int $error_code, string $error_message, int $flags = STREAM_SERVER_BIND | STREAM_SERVER_LISTEN, resource $context)

    Create an Internet or Unix domain server socket

    bool
    stream_socket_shutdown(resource $stream, int $mode)
    Since: 5.2.1

    Shutdown a full-duplex connection

    bool
    stream_supports_lock(resource $stream)

    Tells whether the stream supports locking.

    bool
    stream_wrapper_register(string $protocol, string $class, int $flags = 0)

    Register a URL wrapper implemented as a PHP class

    bool
    stream_wrapper_restore(string $protocol)

    Restores a previously unregistered built-in wrapper

    bool
    stream_wrapper_unregister(string $protocol)

    Unregister a URL wrapper

    string|false
    strftime(string $format, int|null $timestamp)

    Format a local time/date according to locale settings The following characters are recognized in the format parameter string

    Version Description
    format Description Example returned values Day
    %a An abbreviated textual representation of the day Sun through Sat
    %A A full textual representation of the day Sunday through Saturday
    %d Two-digit day of the month (with leading zeros) 01 to 31
    %e Day of the month, with a space preceding single digits 1 to 31
    %j Day of the year, 3 digits with leading zeros 001 to 366
    %u ISO-8601 numeric representation of the day of the week 1 (for Monday) though 7 (for Sunday)
    %w Numeric representation of the day of the week 0 (for Sunday) through 6 (for Saturday)
    Week
    %U Week number of the given year, starting with the first Sunday as the first week 13 (for the 13th full week of the year)
    %V ISO-8601:1988 week number of the given year, starting with the first week of the year with at least 4 weekdays, with Monday being the start of the week 01 through 53 (where 53 accounts for an overlapping week)
    %W A numeric representation of the week of the year, starting with the first Monday as the first week 46 (for the 46th week of the year beginning with a Monday)
    Month
    %b Abbreviated month name, based on the locale Jan through Dec
    %B Full month name, based on the locale January through December
    %h Abbreviated month name, based on the locale (an alias of %b) Jan through Dec
    %m Two digit representation of the month 01 (for January) through 12 (for December)
    Year
    %C Two digit representation of the century (year divided by 100, truncated to an integer) 19 for the 20th Century
    %g Two digit representation of the year going by ISO-8601:1988 standards (see %V) Example: 09 for the week of January 6, 2009
    %G The full four-digit version of %g Example: 2008 for the week of January 3, 2009
    %y Two digit representation of the year Example: 09 for 2009, 79 for 1979
    %Y Four digit representation for the year Example: 2038
    Time
    %H Two digit representation of the hour in 24-hour format 00 through 23
    %I Two digit representation of the hour in 12-hour format 01 through 12
    %l (lower-case 'L') Hour in 12-hour format, with a space preceding single digits 1 through 12
    %M Two digit representation of the minute 00 through 59
    %p UPPER-CASE 'AM' or 'PM' based on the given time Example: AM for 00:31, PM for 22:23
    %P lower-case 'am' or 'pm' based on the given time Example: am for 00:31, pm for 22:23
    %r Same as "%I:%M:%S %p" Example: 09:34:17 PM for 21:34:17
    %R Same as "%H:%M" Example: 00:35 for 12:35 AM, 16:44 for 4:44 PM
    %S Two digit representation of the second 00 through 59
    %T Same as "%H:%M:%S" Example: 21:34:17 for 09:34:17 PM
    %X Preferred time representation based on locale, without the date Example: 03:59:16 or 15:59:16
    %z Either the time zone offset from UTC or the abbreviation (depends on operating system) Example: -0500 or EST for Eastern Time
    %Z The time zone offset/abbreviation option NOT given by %z (depends on operating system) Example: -0500 or EST for Eastern Time
    Time and Date Stamps
    %c Preferred date and time stamp based on local Example: Tue Feb 5 00:45:10 2009 for February 4, 2009 at 12:45:10 AM
    %D Same as "%m/%d/%y" Example: 02/05/09 for February 5, 2009
    %F Same as "%Y-%m-%d" (commonly used in database datestamps) Example: 2009-02-05 for February 5, 2009
    %s Unix Epoch Time timestamp (same as the time function) Example: 305815200 for September 10, 1979 08:40:00 AM
    %x Preferred date representation based on locale, without the time Example: 02/05/09 for February 5, 2009
    Miscellaneous
    %n A newline character ("\n") ---
    %t A Tab character ("\t") ---
    %% A literal percentage character ("%") ---

    Maximum length of this parameter is 1023 characters.

    string
    strip_tags(string $string, string[]|string|null $allowed_tags = null)

    Strip HTML and PHP tags from a string

    string
    stripcslashes(string $string)

    Un-quote string quoted with addcslashes

    int|false
    stripos(string $haystack, string $needle, int $offset = 0)

    Find position of first occurrence of a case-insensitive string

    string
    stripslashes(string $string)

    Un-quotes a quoted string

    string|false
    stristr(string $haystack, string $needle, bool $before_needle = false)

    Case-insensitive strstr

    int
    strnatcasecmp(string $string1, string $string2)

    Case insensitive string comparisons using a "natural order" algorithm

    int
    strnatcmp(string $string1, string $string2)

    String comparisons using a "natural order" algorithm

    string|false
    strpbrk(string $string, $char_list = '', string $characters)

    Search a string for any of a set of characters

    int|false
    strpos(string $haystack, string $needle, int $offset = 0)

    Find the position of the first occurrence of a substring in a string

    array|false
    strptime(string $timestamp, string $format)
    deprecated

    Parse a time/date generated with strftime

    string|false
    strrchr(string $haystack, string $needle, bool $before_needle = false)

    Find the last occurrence of a character in a string

    string
    strrev(string $string)

    Reverse a string

    int|false
    strripos(string $haystack, string $needle, int $offset = 0)

    Find position of last occurrence of a case-insensitive string in a string

    int|false
    strrpos(string $haystack, string $needle, int $offset = 0)

    Find the position of the last occurrence of a substring in a string

    int
    strspn(string $string, string $characters, int $offset = 0, int|null $length)

    Finds the length of the initial segment of a string consisting entirely of characters contained within a given mask.

    string|false
    strstr(string $haystack, string $needle, bool $before_needle = false)

    Find the first occurrence of a string

    string|false
    strtok(string $string, string|null $token = null)

    Tokenize string Note that only the first call to strtok uses the string argument.

    string
    strtolower(string $string)

    Make a string lowercase

    int|false
    strtotime(string $datetime, int|null $baseTimestamp)

    Parse about any English textual datetime description into a Unix timestamp

    string
    strtoupper(string $string)

    Make a string uppercase

    string
    strtr(string $str, array $replace_pairs)

    Translate certain characters

    string
    strval(mixed $value)

    Get string value of a variable

    substr(string $string, int $offset, int|null $length)

    Return part of a string or false on failure. For PHP8.0+ only string is returned

    int
    substr_compare(string $haystack, string $needle, int $offset, int|null $length, bool $case_insensitive = false)

    Binary safe comparison of two strings from an offset, up to length characters

    int
    substr_count(string $haystack, string $needle, int $offset = 0, int|null $length)

    Count the number of substring occurrences

    array|string
    substr_replace(array|string $string, array|string $replace, array|int $offset, array|int|null $length = null)

    Replace text within a portion of a string

    array
    suhosin_get_raw_cookies()

    Returns an array containing the raw cookie values

    bool
    svn_add(string $path, bool $recursive = true, bool $force = false)

    (PECL svn >= 0.1.0)
    Schedules the addition of an item in a working directory

    string|null
    svn_auth_get_parameter(string $key)

    (PECL svn >= 0.1.0)
    Retrieves authentication parameter

    void
    svn_auth_set_parameter(string $key, string $value)

    (PECL svn >= 0.1.0)
    Sets an authentication parameter

    array
    svn_blame(string $repository_url, int $revision_no = SVN_REVISION_HEAD)

    (PECL svn >= 0.3.0)
    Get the SVN blame for a file

    string
    svn_cat(string $repos_url, int $revision_no = SVN_REVISION_HEAD)

    (PECL svn >= 0.1.0)
    Returns the contents of a file in a repository

    bool
    svn_checkout(string $repos, string $targetpath, int $revision = SVN_REVISION_HEAD, int $flags = 0)

    (PECL svn >= 0.1.0)
    Checks out a working copy from the repository

    bool
    svn_cleanup(string $workingdir)

    (PECL svn >= 0.1.0)
    Recursively cleanup a working copy directory, finishing incomplete operations and removing locks

    string
    svn_client_version()

    (PECL svn >= 0.1.0)
    Returns the version of the SVN client libraries

    array
    svn_commit(string $log, array $targets, bool $recursive = true)

    (PECL svn >= 0.1.0)
    Sends changes from the local working copy to the repository

    svn_config_ensure()

    No description

    svn_copy()

    No description

    bool
    svn_delete(string $path, bool $force = false)

    (PECL svn >= 0.4.0)
    Delete items from a working copy or repository.

    array
    svn_diff(string $path1, int $rev1, string $path2, int $rev2)

    (PECL svn >= 0.1.0)
    Recursively diffs two paths

    bool
    svn_export(string $frompath, string $topath, bool $working_copy = true, int $revision_no = -1)

    (PECL svn >= 0.3.0)
    Export the contents of a SVN directory

    bool
    svn_fs_abort_txn(resource $txn)

    (PECL svn >= 0.2.0)
    Abort a transaction, returns true if everything is okay, false otherwise

    resource
    svn_fs_apply_text(resource $root, string $path)

    (PECL svn >= 0.2.0)
    Creates and returns a stream that will be used to replace

    resource
    svn_fs_begin_txn2(resource $repos, int $rev)

    (PECL svn >= 0.2.0)
    Create a new transaction

    bool
    svn_fs_change_node_prop(resource $root, string $path, string $name, string $value)

    (PECL svn >= 0.2.0)
    Return true if everything is ok, false otherwise

    int
    svn_fs_check_path(resource $fsroot, string $path)

    (PECL svn >= 0.1.0)
    Determines what kind of item lives at path in a given repository fsroot

    bool
    svn_fs_contents_changed(resource $root1, string $path1, resource $root2, string $path2)

    (PECL svn >= 0.2.0)
    Return true if content is different, false otherwise

    bool
    svn_fs_copy(resource $from_root, string $from_path, resource $to_root, string $to_path)

    (PECL svn >= 0.2.0)
    Copies a file or a directory, returns true if all is ok, false otherwise

    bool
    svn_fs_delete(resource $root, string $path)

    (PECL svn >= 0.2.0)
    Deletes a file or a directory, return true if all is ok, false otherwise

    array
    svn_fs_dir_entries(resource $fsroot, string $path)

    (PECL svn >= 0.1.0)
    Enumerates the directory entries under path; returns a hash of dir names to file type

    resource
    svn_fs_file_contents(resource $fsroot, string $path)

    (PECL svn >= 0.1.0)
    Returns a stream to access the contents of a file from a given version of the fs

    int
    svn_fs_file_length(resource $fsroot, string $path)

    (PECL svn >= 0.1.0)
    Returns the length of a file from a given version of the fs

    bool
    svn_fs_is_dir(resource $root, string $path)

    (PECL svn >= 0.2.0)
    Return true if the path points to a directory, false otherwise

    bool
    svn_fs_is_file(resource $root, string $path)

    (PECL svn >= 0.2.0)
    Return true if the path points to a file, false otherwise

    bool
    svn_fs_make_dir(resource $root, string $path)

    (PECL svn >= 0.2.0)
    Creates a new empty directory, returns true if all is ok, false otherwise

    bool
    svn_fs_make_file(resource $root, string $path)

    (PECL svn >= 0.2.0)
    Creates a new empty file, returns true if all is ok, false otherwise

    int
    svn_fs_node_created_rev(resource $fsroot, string $path)

    (PECL svn >= 0.1.0)
    Returns the revision in which path under fsroot was created

    string
    svn_fs_node_prop(resource $fsroot, string $path, string $propname)

    (PECL svn >= 0.1.0)
    Returns the value of a property for a node

    bool
    svn_fs_props_changed(resource $root1, string $path1, resource $root2, string $path2)

    (PECL svn >= 0.2.0)
    Return true if props are different, false otherwise

    string
    svn_fs_revision_prop(resource $fs, int $revnum, string $propname)

    (PECL svn >= 0.1.0)
    Fetches the value of a named property

    resource
    svn_fs_revision_root(resource $fs, int $revnum)

    (PECL svn >= 0.1.0)
    Get a handle on a specific version of the repository root

    resource
    svn_fs_txn_root(resource $txn)

    (PECL svn >= 0.2.0)
    Creates and returns a transaction root

    int
    svn_fs_youngest_rev(resource $fs)

    (PECL svn >= 0.1.0)
    Returns the number of the youngest revision in the filesystem

    bool
    svn_import(string $path, string $url, bool $nonrecursive)

    (PECL svn >= 0.2.0)
    Imports an unversioned path into a repository

    svn_info()

    No description

    svn_lock()

    No description

    array
    svn_log(string $repos_url, int $start_revision = null, int $end_revision = null, int $limit = 0, int $flags = SVN_DISCOVER_CHANGED_PATHS | SVN_STOP_ON_COPY)

    (PECL svn >= 0.1.0)
    Returns the commit log messages of a repository URL

    array
    svn_ls(string $repos_url, int $revision_no = SVN_REVISION_HEAD, bool $recurse = false, bool $peg = false)

    (PECL svn >= 0.1.0)
    Returns list of directory contents in repository URL, optionally at revision number

    bool
    svn_mkdir(string $path, string $log_message = null)

    (PECL svn >= 0.4.0)
    Creates a directory in a working copy or repository

    mixed
    svn_move(string $src_path, string $dst_path, bool $force = false)

    No description

    mixed
    svn_propget(string $path, string $property_name, bool $recurse = false, int $revision)

    No description

    mixed
    svn_proplist(string $path, bool $recurse = false, int $revision)

    No description

    resource
    svn_repos_create(string $path, array|null $config = null, array|null $fsconfig = null)

    (PECL svn >= 0.1.0)
    Create a new subversion repository at path

    resource
    svn_repos_fs(resource $repos)

    (PECL svn >= 0.1.0)
    Gets a handle on the filesystem for a repository

    resource
    svn_repos_fs_begin_txn_for_commit(resource $repos, int $rev, string $author, string $log_msg)

    (PECL svn >= 0.2.0)
    Create a new transaction

    int
    svn_repos_fs_commit_txn(resource $txn)

    (PECL svn >= 0.2.0)
    Commits a transaction and returns the new revision

    bool
    svn_repos_hotcopy(string $repospath, string $destpath, bool $cleanlogs)

    (PECL svn >= 0.1.0)
    Make a hot-copy of the repos at repospath; copy it to destpath

    resource
    svn_repos_open(string $path)

    (PECL svn >= 0.1.0)
    Open a shared lock on a repository.

    bool
    svn_repos_recover(string $path)

    (PECL svn >= 0.1.0)
    Run recovery procedures on the repository located at path.

    svn_resolved()

    No description

    bool
    svn_revert(string $path, bool $recursive = false)

    (PECL svn >= 0.3.0)
    Revert changes to the working copy

    array
    svn_status(string $path, int $flags = 0)

    (PECL svn >= 0.1.0)
    Returns the status of working copy files and directories

    svn_switch()

    No description

    svn_unlock()

    No description

    int|false
    svn_update(string $path, int $revno = SVN_REVISION_HEAD, bool $recurse = true)

    (PECL svn >= 0.1.0)
    Update working copy

    mixed
    swoole_async_dns_lookup_coro($domain_name, $timeout = null, $type = null)

    No description

    mixed
    swoole_async_set($settings)

    No description

    mixed
    swoole_clear_dns_cache()

    No description

    mixed
    swoole_clear_error()

    No description

    mixed
    swoole_client_select($read_array, $write_array, $error_array, $timeout = null)

    No description

    int|false
    swoole_coroutine_create(callable $func, ...$params)

    No description

    void
    swoole_coroutine_defer(callable $callback)

    Defers the execution of a callback function until the surrounding function of a coroutine returns.

    mixed
    swoole_coroutine_socketpair($domain, $type, $protocol)

    No description

    int
    swoole_cpu_num()

    Gets the number of CPU cores.

    mixed
    swoole_errno()

    No description

    void
    swoole_error_log(int $level, string $msg)

    No description

    void
    swoole_error_log_ex(int $level, int $error, string $msg)
    Since: 4.8.1

    No description

    mixed
    swoole_event_add($fd, $read_callback, $write_callback = null, $events = null)

    No description

    mixed
    swoole_event_cycle($callback, $before = null)

    No description

    true
    swoole_event_defer(callable $callback)

    This function is an alias of method \Swoole\Event::defer().

    mixed
    swoole_event_del($fd)

    No description

    mixed
    swoole_event_dispatch()

    No description

    mixed
    swoole_event_exit()

    No description

    mixed
    swoole_event_isset($fd, $events = null)

    No description

    mixed
    swoole_event_set($fd, $read_callback = null, $write_callback = null, $events = null)

    No description

    mixed
    swoole_event_wait()

    No description

    mixed
    swoole_event_write($fd, $data)

    No description

    mixed
    swoole_get_local_ip()

    No description

    mixed
    swoole_get_local_mac()

    No description

    mixed
    swoole_get_mime_type($filename)

    No description

    array|false
    swoole_get_object_by_handle(int $handle)
    Since: 4.8.1

    No description

    array|false
    swoole_get_objects()
    Since: 4.8.1

    Get all PHP objects of current call stack.

    array
    swoole_get_vm_status()
    Since: 4.8.1

    Get status information of current call stack.

    mixed
    swoole_hashcode($data, $type = null)

    No description

    void
    swoole_ignore_error(int $error)
    Since: 4.8.1

    No description

    mixed
    swoole_internal_call_user_shutdown_begin()

    No description

    mixed
    swoole_last_error()

    No description

    mixed
    swoole_mime_type_add($suffix, $mime_type)

    No description

    mixed
    swoole_mime_type_delete($suffix)

    No description

    mixed
    swoole_mime_type_exists($filename)

    No description

    mixed
    swoole_mime_type_get($filename)

    No description

    mixed
    swoole_mime_type_list()

    No description

    mixed
    swoole_mime_type_set($suffix, $mime_type)

    No description

    mixed
    swoole_select($read_array, $write_array, $error_array, $timeout = null)

    No description

    mixed
    swoole_set_process_name($process_name)

    No description

    mixed
    swoole_strerror($errno, $error_type = null)

    No description

    mixed
    swoole_substr_json_decode($json, $offset, $length = null, $associative = null, $depth = null, $flags = null)

    No description

    mixed
    swoole_substr_unserialize($str, $offset, $length = null, $options = null)

    No description

    mixed
    swoole_test_kernel_coroutine($count = null, $sleep_time = null)

    No description

    int
    swoole_timer_after(int $ms, callable $callback, ...$params)

    This function is an alias of method \Swoole\Timer::after().

    bool
    swoole_timer_clear(int $timer_id)

    This function is an alias of method \Swoole\Timer::clear().

    bool
    swoole_timer_clear_all()

    This function is an alias of method \Swoole\Timer::clearAll().

    bool
    swoole_timer_exists(int $timer_id)

    This function is an alias of method \Swoole\Timer::exists().

    array
    swoole_timer_info(int $timer_id)

    This function is an alias of method \Swoole\Timer::info().

    Iterator
    swoole_timer_list()

    This function is an alias of method \Swoole\Timer::list().

    void
    swoole_timer_set(array $settings)

    This function is an alias of method \Swoole\Timer::set().

    array
    swoole_timer_stats()

    This function is an alias of method \Swoole\Timer::stats().

    int
    swoole_timer_tick(int $ms, callable $callback, ...$params)

    This function is an alias of method \Swoole\Timer::tick().

    string
    swoole_version()

    Gets the current Swoole version. This information is also available in the predefined constant SWOOLE_VERSION.

    int
    sybase_affected_rows(resource $link_identifier = null)

    Gets number of affected rows in last query

    bool
    sybase_close(resource $link_identifier = null)

    Closes a Sybase connection

    resource|false
    sybase_connect(string $servername = null, string $username = null, string $password = null, string $charset = null, string $appname = null)

    Opens a Sybase server connection

    bool
    sybase_data_seek(resource $result_identifier, int $row_number)

    Moves internal row pointer

    void
    sybase_deadlock_retry_count(int $retry_count)

    Sets the deadlock retry count

    array|false
    sybase_fetch_array(resource $result)

    Fetch row as array

    array|false
    sybase_fetch_assoc(resource $result)

    Fetch a result row as an associative array

    object
    sybase_fetch_field(resource $result, int $field_offset = null)

    Get field information from a result

    object
    sybase_fetch_object(resource $result, mixed $object = null)

    Fetch a row as an object

    array|false
    sybase_fetch_row(resource $result)

    Get a result row as an enumerated array

    bool
    sybase_field_seek(resource $result, int $field_offset)

    Sets field offset

    bool
    sybase_free_result(resource $result)

    Frees result memory

    string
    sybase_get_last_message()

    Returns the last message from the server

    void
    sybase_min_client_severity(int $severity)

    Sets minimum client severity

    void
    sybase_min_server_severity(int $severity)

    Sets minimum server severity

    int
    sybase_num_fields(resource $result)

    Gets the number of fields in a result set

    int
    sybase_num_rows(resource $result)

    Get number of rows in a result set

    resource|false
    sybase_pconnect(string $servername = null, string $username = null, string $password = null, string $charset = null, string $appname = null)

    Open persistent Sybase connection

    mixed|false
    sybase_query(string $query, resource $link_identifier = null)

    Sends a Sybase query

    string
    sybase_result(resource $result, int $row, mixed $field)

    Get result data

    bool
    sybase_select_db(string $database_name, resource $link_identifier = null)

    Selects a Sybase database

    bool
    sybase_set_message_handler(callable $handler, resource $connection = null)

    Sets the handler called when a server message is raised

    resource|false
    sybase_unbuffered_query(string $query, resource $link_identifier, bool $store_result = null)

    Send a Sybase query and do not block

    string
    sys_get_temp_dir()
    Since: 5.2.1

    Returns directory path used for temporary files

    array|false
    sys_getloadavg()
    Since: 5.1.3

    Gets system load average

    syslog(int $priority, string $message)

    Generate a system log message

    string|false
    system(string $command, int $result_code)

    Execute an external program and display the output

    float
    tan(float $num)

    Tangent

    float
    tanh(float $num)

    Hyperbolic tangent

    string|false
    tempnam(string $directory, string $prefix)

    Create file with unique file name

    string
    textdomain(string|null $domain = null)

    Sets the default domain

    int
    tidy_access_count(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Returns the Number of Tidy accessibility warnings encountered for specified document

    bool
    tidy_clean_repair(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Execute configured cleanup and repair operations on parsed markup

    int
    tidy_config_count(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Returns the Number of Tidy configuration errors encountered for specified document

    bool
    tidy_diagnose(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Run configured diagnostics on parsed and repaired markup

    int
    tidy_error_count(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Returns the Number of Tidy errors encountered for specified document

    tidyNode|null
    tidy_get_body(tidy $tidy)

    (PHP 5, PECL tidy 0.5.2-1.0)
    Returns a tidyNode object starting from the <body> tag of the tidy parse tree

    array
    tidy_get_config(tidy $tidy)

    (PHP 5, PECL tidy >= 0.7.0)
    Get current Tidy configuration

    string|false
    tidy_get_error_buffer(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Return warnings and errors which occurred parsing the specified document

    tidyNode|null
    tidy_get_head(tidy $tidy)

    (PHP 5, PECL tidy 0.5.2-1.0.0)
    Returns a tidyNode object starting from the <head> tag of the tidy parse tree

    tidyNode|null
    tidy_get_html(tidy $tidy)

    (PHP 5, PECL tidy 0.5.2-1.0.0)
    Returns a tidyNode object starting from the <html> tag of the tidy parse tree

    int
    tidy_get_html_ver(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Get the Detected HTML version for the specified document

    string|false
    tidy_get_opt_doc(tidy $tidy, string $option)

    Returns the documentation for the given option name

    string
    tidy_get_output(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Return a string representing the parsed tidy markup

    string
    tidy_get_release()

    (PHP 5, PECL tidy >= 0.5.2)
    Get release date (version) for Tidy library

    tidyNode|null
    tidy_get_root(tidy $tidy)

    (PHP 5, PECL tidy 0.5.2-1.0.0)
    Returns a tidyNode object representing the root of the tidy parse tree

    int
    tidy_get_status(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Get status of specified document

    string|int|bool
    tidy_getopt(tidy $tidy, string $option)

    (PHP 5, PECL tidy >= 0.5.2)
    Returns the value of the specified configuration option for the tidy document

    bool
    tidy_is_xhtml(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Indicates if the document is a XHTML document

    bool
    tidy_is_xml(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Indicates if the document is a generic (non HTML/XHTML) XML document

    tidy|false
    tidy_parse_file(string $filename, array|string|null $config = null, null|string $encoding = null, bool $useIncludePath = false)

    (PHP 5, PECL tidy >= 0.5.2)
    Parse markup in file or URI

    tidy|false
    tidy_parse_string(string $string, array|string|null $config = null, null|string $encoding = null)

    (PHP 5, PECL tidy >= 0.5.2)
    Parse a document stored in a string

    string|false
    tidy_repair_file(string $filename, array|string|null $config = null, null|string $encoding = null, bool $useIncludePath = false)

    (PHP 5, PECL tidy >= 0.7.0)
    Repair a file and return it as a string

    string|false
    tidy_repair_string(string $string, array|string|null $config = null, null|string $encoding = null)

    (PHP 5, PECL tidy >= 0.7.0)
    Repair a string using an optionally provided configuration file

    int
    tidy_warning_count(tidy $tidy)

    (PHP 5, PECL tidy >= 0.5.2)
    Returns the Number of Tidy warnings encountered for specified document

    int
    time()

    Return current Unix timestamp

    array|bool
    time_nanosleep(int $seconds, int $nanoseconds)

    Delay for a number of seconds and nanoseconds

    bool
    time_sleep_until(float $timestamp)

    Make the script sleep until the specified time

    timezone_abbreviations_list()

    Returns associative array containing dst, offset and the timezone name Alias: {DateTimeZone

    array|false
    timezone_identifiers_list(int $timezoneGroup = DateTimeZone::ALL, string|null $countryCode)

    Returns a numerically indexed array containing all defined timezone identifiers Alias: {DateTimeZone

    array|false
    timezone_location_get(DateTimeZone $object)

    Alias: {DateTimeZone

    string|false
    timezone_name_from_abbr(string $abbr, int $utcOffset = -1, int $isDST = -1)
    Since: 5.1.3

    Returns the timezone name from abbreviation

    string
    timezone_name_get(DateTimeZone $object)

    Alias: {DateTimeZone

    int|false
    timezone_offset_get(DateTimeZone $object, DateTimeInterface $datetime)

    Alias: DateTimeZone

    DateTimeZone|false
    timezone_open(string $timezone)

    Returns new DateTimeZone object

    array|false
    timezone_transitions_get(DateTimeZone $object, int $timestampBegin = PHP_INT_MIN, int $timestampEnd = PHP_INT_MAX)

    Returns all transitions for the timezone Alias: {DateTimeZone

    string
    timezone_version_get()

    Gets the version of the timezonedb

    resource|false
    tmpfile()

    Creates a temporary file

    array
    token_get_all(string $code, int $flags = 0)

    Split given source into PHP tokens

    string
    token_name(int $id)

    Get the symbolic name of a given PHP token

    bool
    touch(string $filename, int|null $mtime, int|null $atime)

    Sets access and modification time of file

    transliterator_create(string $id, int $direction = 0)
    Since: 5.4

    (PHP >= 5.4.0, PECL intl >= 2.0.0)
    Create a transliterator

    transliterator_create_from_rules(string $rules, int $direction = 0)
    Since: 5.4

    (PHP >= 5.4.0, PECL intl >= 2.0.0)
    Create transliterator from rules

    transliterator_create_inverse(Transliterator $transliterator)
    Since: 5.4

    (PHP >= 5.4.0, PECL intl >= 2.0.0)
    Create an inverse transliterator

    int|false
    transliterator_get_error_code(Transliterator $transliterator)
    Since: 5.4

    (PHP >= 5.4.0, PECL intl >= 2.0.0)
    Get last error code

    string|false
    transliterator_get_error_message(Transliterator $transliterator)
    Since: 5.4

    (PHP >= 5.4.0, PECL intl >= 2.0.0)
    Get last error message

    array|false
    transliterator_list_ids()
    Since: 5.4

    (PHP >= 5.4.0, PECL intl >= 2.0.0)
    Get transliterator IDs

    string|false
    transliterator_transliterate(Transliterator|string $transliterator, string $string, int $start = 0, int $end = -1)
    Since: 5.4

    (PHP >= 5.4.0, PECL intl >= 2.0.0)
    Transliterate a string

    string
    trim(string $string, string $characters = " \n\r\t\v\x00")

    Strip whitespace (or other characters) from the beginning and end of a string

    uasort(array $array, callable $callback)

    Sort an array with a user-defined comparison function and maintain index association

    string
    ucfirst(string $string)

    Make a string's first character uppercase

    string
    ucwords(string $string, string $separators = " \t\r\n\f\v")

    Uppercase the first character of each word in a string

    uksort(array $array, callable $callback)

    Sort an array by keys using a user-defined comparison function

    int
    umask(int|null $mask)

    Changes the current umask

    string
    uniqid(string $prefix = "", bool $more_entropy = false)

    Generate a unique ID

    int|false
    unixtojd(int|null $timestamp = null)

    Convert Unix timestamp to Julian Day

    array|false
    unpack(string $format, string $string, int $offset = 0)

    Unpack data from binary string

    bool
    unregister_event_handler(string $handler_name)

    Allow you to unregister an event handler.

    void
    unregister_tick_function(callable $callback)

    De-register a function for execution on each tick

    mixed
    unserialize(string $data, array $options = [])

    Creates a PHP value from a stored representation

    bool
    uopz_add_function(...$arguments)

    Adds non-existent method

    void
    uopz_allow_exit(bool ...$arguments)
    Since: 5.4

    Allows control over disabled exit opcode

    uopz_call_user_func(...$arguments)

    No description

    uopz_call_user_func_array(...$arguments)

    No description

    bool
    uopz_del_function(...$arguments)

    Deletes previously added method

    bool
    uopz_extend(...$arguments)
    Since: 5.4

    Extend a class at runtime

    int
    uopz_flags(...$arguments)
    Since: 5.4

    Get or set flags on function or class

    int|null
    uopz_get_exit_status()
    Since: 5.4

    Retrieve the last set exit status

    Closure|null
    uopz_get_hook(...$arguments)

    Gets previously set hook on method

    string|object|null
    uopz_get_mock(string ...$arguments)
    Since: 5.4

    Get the current mock for a class

    mixed
    uopz_get_property(...$arguments)

    Gets the value of a static class property, if class is given, or the value of an instance property, if instance is given

    mixed
    uopz_get_return(...$arguments)
    Since: 5.4

    Gets a previous set return value for a function

    array|null
    uopz_get_static(...$arguments)

    Gets the static variables from function or method scope

    bool
    uopz_implement(...$arguments)
    Since: 5.4

    Implements an interface at runtime

    bool
    uopz_redefine(...$arguments)
    Since: 5.4

    Redefine a constant

    bool
    uopz_set_hook(...$arguments)

    Sets hook to execute when entering a function or method

    void
    uopz_set_mock(...$arguments)
    Since: 7.0

    Use mock instead of class for new objects

    void
    uopz_set_property(...$arguments)

    Sets the value of an existing static class property, if class is given, or the value of an existing instance property, if instance is given

    bool
    uopz_set_return(...$arguments)
    Since: 7.0

    Provide a return value for an existing function

    void
    uopz_set_static(...$arguments)

    Sets the static variables in function or method scope

    bool
    uopz_undefine(...$arguments)
    Since: 5.4

    Undefine a constant

    bool
    uopz_unset_hook(...$arguments)

    Removes previously set hook on function or method

    void
    uopz_unset_mock(string ...$arguments)
    Since: 7.0

    Unset previously set mock

    bool
    uopz_unset_return(...$arguments)
    Since: 7.0

    Unsets a previously set return value for a function

    string|null
    uploadprogress_get_contents(string $identifier, string $fieldname, int $maxlen = -1)
    Since: PECL uploadprogress >= 0.9.0

    No description

    array|null
    uploadprogress_get_info(string $identifier)
    Since: PECL uploadprogress >= 0.3.0

    No description

    string
    urldecode(string $string)

    Decodes URL-encoded string

    string
    urlencode(string $string)

    URL-encodes string

    bool
    use_soap_error_handler(bool $enable = true)

    Set whether to use the SOAP error handler

    void
    usleep(int $microseconds)

    Delay execution in microseconds

    true
    usort(array $array, callable $callback)

    Sort an array by values using a user-defined comparison function

    string
    utf8_decode(string $string)
    deprecated

    Converts a string with ISO-8859-1 characters encoded with UTF-8 to single-byte ISO-8859-1

    string
    utf8_encode(string $string)
    deprecated

    Encodes an ISO-8859-1 string to UTF-8

    int
    uuid_compare(string $uuid1, string $uuid2)

    Compare two UUIDs

    string
    uuid_create(int $uuid_type = UUID_TYPE_DEFAULT)

    Generate a new UUID

    string
    uuid_generate_md5(string $uuid_ns, string $name)

    Generate a MD5 hashed (predictable) UUID based on a well-known UUID

    string
    uuid_generate_sha1(string $uuid_ns, string $name)

    Generate a SHA1 hashed (predictable) UUID based on a well-known UUID

    bool
    uuid_is_null(string $uuid)

    Check wheter an UUID is the NULL UUID 00000000-0000-0000-0000-000000000000

    bool
    uuid_is_valid(string $uuid)

    Check whether a given UUID string is a valid UUID

    false|string
    uuid_mac(string $uuid)

    Get UUID creator network MAC address

    false|string
    uuid_parse(string $uuid)

    Converts a UUID string to the binary representation

    false|int
    uuid_time(string $uuid)

    Extract creation time from a time based UUID as UNIX timestamp

    int
    uuid_type(string $uuid)

    Return the UUIDs type

    false|string
    uuid_unparse(string $uuid)

    Converts a UUID binary string to the human readable string

    int
    uuid_variant(string $uuid)

    Return the UUIDs variant

    void
    uv_accept(UVTcp|UVPipe $server, UVTcp|UVPipe $client)

    Accepts a connection on a socket.

    uv_async_init(UVLoop $loop, callable $callback)

    Setup async callback.

    void
    uv_async_send(UVAsync $handle)

    Send async callback immediately.

    bool
    uv_chdir(string $directory)

    Change working directory.

    uv_check_init(UVLoop $loop)

    Setup check.

    void
    uv_check_start(UVCheck $handle, callable $callback)

    Stats check loop callback. (after loop callback)

    void
    uv_check_stop(UVCheck $handle)

    Stop check callback.

    void
    uv_close(UV $handle, callable $callback = null)

    Close uv handle.

    array
    uv_cpu_info()

    Returns current cpu informations.

    uv_default_loop()

    Return default loop handle.

    string
    uv_err_name(int $error_code)

    Get error code name.

    string
    uv_exepath()

    Returns current exepath. basically this will returns current php path.

    void
    uv_fs_chmod(UVLoop $loop, string $path, int $mode, callable $callback)

    Async chmod.

    void
    uv_fs_chown(UVLoop $loop, string $path, int $uid, int $gid, callable $callback)

    Async chown.

    void
    uv_fs_close(UVLoop $loop, resource $fd, callable $callback)

    Close specified file descriptor.

    uv_fs_event_init(UVLoop $loop, string $path, callable $callback, int $flags = 0)

    Initialize fs event.

    void
    uv_fs_fchmod(UVLoop $loop, resource $fd, int $mode, callable $callback)

    Async fchmod.

    void
    uv_fs_fchown(UVLoop $loop, resource $fd, int $uid, int $gid, callable $callback)

    Async fchown.

    void
    uv_fs_fdatasync(UVLoop $loop, resource $fd, callable $callback)

    Async fdatasync.

    void
    uv_fs_fstat(UVLoop $loop, resource $fd, callable $callback)

    Async fstat.

    void
    uv_fs_fsync(UVLoop $loop, resource $fd, callable $callback)

    Async fsync.

    void
    uv_fs_ftruncate(UVLoop $loop, resource $fd, int $offset, callable $callback)

    Async ftruncate.

    void
    uv_fs_futime(UVLoop $loop, resource $fd, int $utime, int $atime, callable $callback)

    Async futime.

    void
    uv_fs_lstat(UVLoop $loop, string $path, callable $callback)

    Async lstat.

    void
    uv_fs_mkdir(UVLoop $loop, string $path, int $mode, callable $callback)

    Async mkdir.

    resource
    uv_fs_open(UVLoop $loop, string $path, int $flag, int $mode, callable $callback)

    Open specified file.

    uv_fs_poll_init(UVLoop|null $uv_loop = null)

    No description

    UV
    uv_fs_poll_start(UVFsPoll $handle, $callback, string $path, int $interval)

    No description

    void
    uv_fs_poll_stop(UVFsPoll $poll)

    No description

    void
    uv_fs_read(UVLoop $loop, resource $fd, int $offset, int $length, callable $callback)

    Async read.

    void
    uv_fs_readdir(UVLoop $loop, string $path, int $flags, callable $callback)

    Async readdir.

    void
    uv_fs_rename(UVLoop $loop, string $from, string $to, callable $callback)

    Async rename.

    void
    uv_fs_rmdir(UVLoop $loop, string $path, callable $callback)

    Async rmdir.

    uv_fs_sendfile(UVLoop $loop, resource $in_fd, resource $out_fd, int $offset, int $length, callable $callback)

    Async sendfile.

    void
    uv_fs_stat(UVLoop $loop, string $path, callable $callback)

    Async stat.

    void
    uv_fs_utime(UVLoop $loop, string $path, int $utime, int $atime, callable $callback)

    Async utime.

    void
    uv_fs_write(UVLoop $loop, resource $fd, string $buffer, int $offset, callable $callback)

    Write buffer to specified file descriptor.

    int
    uv_get_free_memory()

    Returns current free memory size.

    int
    uv_get_total_memory()

    Returns total memory size.

    void
    uv_getaddrinfo(UVLoop $loop, callable $callback, string $node, string $service, array $hints)

    No description

    int
    uv_guess_handle(resource $uv)

    No description

    int
    uv_hrtime()

    No description

    uv_idle_init(UVLoop $loop = null)

    Initialize uv idle handle.

    void
    uv_idle_start(UVIdle $idle, callable $callback)

    start idle callback.

    void
    uv_idle_stop(UVIdle $idle)

    Stop idle callback.

    array
    uv_interface_addresses()

    No description

    uv_ip4_addr(string $ipv4_addr, int $port)

    Create a ipv4 sockaddr.

    string
    uv_ip4_name(UVSockAddr $address)

    No description

    uv_ip6_addr(string $ipv6_addr, int $port)

    Create a ipv6 sockaddr.

    string
    uv_ip6_name(UVSockAddr $address)

    No description

    bool
    uv_is_active(UV $handle)

    No description

    bool
    uv_is_closing(UV $handle)

    No description

    bool
    uv_is_readable(UVStream $handle)

    No description

    bool
    uv_is_writable(UVStream $handle)

    No description

    uv_kill(int $pid, int $signal)

    Send signal to specified pid.

    int
    uv_last_error(UVLoop|null $uv_loop = null)

    Get last error code.

    void
    uv_listen(UVTcp|UVPipe $handle, int $backlog, callable $callback)

    Listens for a connection on a uv handle.

    array
    uv_loadavg()

    Returns current loadaverage.

    void
    uv_loop_delete(UVLoop $uv_loop)

    Delete specified loop.

    uv_loop_new()

    Create a new loop handle.

    uv_mutex_init()

    Initialize mutex.

    void
    uv_mutex_lock(UVLock $lock)

    Lock mutex.

    bool
    uv_mutex_trylock(UVLock $lock)

    No description

    int
    uv_now()

    No description

    int
    uv_pipe_bind(UVPipe $handle, string $name)

    Create a named pipe.

    void
    uv_pipe_connect(UVPipe $handle, string $path, callable $callback)

    Connect to named pipe.

    uv_pipe_init(UVLoop $loop, int $ipc)

    Initialize pipe.

    void
    uv_pipe_open(UVPipe $handle, int $pipe)

    Open a pipe.

    void
    uv_pipe_pending_instances(UVPipe $handle, void $count)

    No description

    uv_poll_init(UVLoop $uv_loop, resource $fd)

    Initialize poll.

    void
    uv_poll_start(UVPoll $handle, int $events, callable $callback)

    Start polling.

    void
    uv_poll_stop(UVPoll $poll)

    No description

    uv_prepare_init(UVLoop $loop)

    Initialize prepare.

    void
    uv_prepare_start(UVPrepare $handle, callable $callback)

    Setup prepare loop callback. (pre loop callback)

    void
    uv_prepare_stop(UVPrepare $handle)

    Stop prepare callback.

    void
    uv_process_kill(UVProcess $handle, int $signal)

    Send signal to specified uv process.

    void
    uv_queue_work(UVLoop $loop, callable $callback, callable $after_callback)

    Execute callbacks in another thread (requires Thread Safe enabled PHP).

    uv_read_start(UVStream $handle, callable $callback)

    Starts read callback for uv streams.

    void
    uv_read_stop(UVStream $handle)

    Stop read callback.

    void
    uv_ref(UV $uv_handle)

    Increment reference count.

    int
    uv_resident_set_memory()

    No description

    void
    uv_run(UVLoop|null $uv_loop = null, int $run_mode = UV::RUN_DEFAULT)

    Run event loop.

    void
    uv_run_once(UVLoop|null $uv_loop = null)

    No description

    uv_rwlock_init()

    Initialize rwlock.

    uv_rwlock_rdlock(UVLock $handle)

    Set read lock.

    void
    uv_rwlock_rdunlock(UVLock $handle)

    Unlock read lock.

    bool
    uv_rwlock_tryrdlock(UVLock $handle)

    No description

    uv_rwlock_trywrlock(UVLock $handle)

    No description

    void
    uv_rwlock_wrlock(UVLock $handle)

    Set write lock.

    uv_rwlock_wrunlock(UVLock $handle)

    Unlock write lock.

    uv_sem_init(int $value)

    Initialize semaphore.

    void
    uv_sem_post(UVLock $sem)

    Post semaphore.

    void
    uv_sem_trywait(UVLock $sem)

    No description

    void
    uv_sem_wait(UVLock $sem)

    No description

    void
    uv_shutdown(UVStream $handle, callable $callback)

    Shutdown uv handle.

    int
    uv_signal_stop(UVSignal $sig_handle)

    No description

    UVProcess|long
    uv_spawn(UVLoop $loop, string $command, array $args, array $stdio, string $cwd, array $env = [], callable|null $callback = null, int|null $flags = null, array|null $options = null)

    No description

    uv_stdio_new(UV|resource|long|null $fd, int $flags)

    No description

    void
    uv_stop(UVLoop $uv_loop)

    No description

    string
    uv_strerror(int $error_code)

    Get error message.

    void
    uv_tcp_bind(UVTcp $uv_tcp, UVSockAddr $uv_sockaddr)

    Binds a name to a socket.

    void
    uv_tcp_bind6(UVTcp $uv_tcp, UVSockAddr $uv_sockaddr)

    Binds a name to a socket.

    void
    uv_tcp_connect(UVTcp $handle, UVSockAddr $ipv4_addr, callable $callback)

    Connect to specified ip address and port.

    void
    uv_tcp_connect6(UVTcp $handle, UVSockAddrIPv6 $ipv6_addr, callable $callback)

    Connect to specified ip address and port.

    string
    uv_tcp_getpeername(UVTcp $uv_sockaddr)

    No description

    string
    uv_tcp_getsockname(UVTcp $uv_sockaddr)

    No description

    uv_tcp_init(UVLoop|null $loop = null)

    Create a tcp socket.

    uv_tcp_nodelay(UVTcp $handle, bool $enable)

    Set Nagel's flags for specified tcp stream.

    void
    uv_timer_again(UVTimer $timer)

    Restart timer.

    int
    uv_timer_get_repeat(UVTimer $timer)

    Returns repeat interval.

    uv_timer_init(UVLoop|null $loop = null)

    Initialize timer handle.

    void
    uv_timer_set_repeat(UVTimer $timer, int $repeat)

    Set repeat count.

    void
    uv_timer_start(UVTimer $timer, int $timeout, int $repeat, callable $callback)

    Initialize timer handle.

    int
    uv_timer_stop(UVTimer $timer)

    stop specified timer.

    int
    uv_tty_get_winsize(UVTty $tty, int $width, int $height)

    No description

    uv_tty_init(UVLoop $loop, resource $fd, int $readable)

    Initialize TTY. you have to open tty your hand.

    void
    uv_tty_reset_mode()

    No description

    int
    uv_tty_set_mode(UVTty $tty, int $mode)

    No description

    void
    uv_udp_bind(UVUdp $resource, UVSockAddr $address, int $flags)

    Listens for a connection on a uv udp handle.

    void
    uv_udp_bind6(UVUdp $resource, UVSockAddr $address, int $flags)

    Listens for a connection on a uv udp handle.

    string
    uv_udp_getsockname(UVUdp $uv_sockaddr)

    No description

    uv_udp_init(UVLoop|null $loop = null)

    Create a udp socket.

    void
    uv_udp_recv_start(UVUdp $handle, callable $callback)

    Start receive callback.

    void
    uv_udp_recv_stop(UVUdp $handle)

    Stop receive callback.

    void
    uv_udp_send(UVUdp $handle, string $data, UVSockAddr $uv_addr, callable $callback)

    Send buffer to specified address.

    void
    uv_udp_send6(UVUdp $handle, string $data, UVSockAddrIPv6 $uv_addr6, callable $callback)

    Send buffer to specified address.

    void
    uv_udp_set_broadcast(UVUdp $handle, bool $enabled)

    Set udp broadcast.

    int
    uv_udp_set_membership(UVUdp $handle, string $multicast_addr, string $interface_addr, int $membership)

    Join or leave udp muticast group.

    void
    uv_udp_set_multicast_loop(UVUdp $handle, int $enabled)

    Set multicast loop.

    void
    uv_udp_set_multicast_ttl(UVUdp $handle, int $ttl)

    Set multicast ttl.

    void
    uv_unref(UV $uv_t)

    Decrement reference.

    void
    uv_update_time(UVLoop $uv_loop)

    No description

    float
    uv_uptime()

    Returns current uptime.

    bool
    uv_walk(UVLoop $loop, callable $closure, array $opaque = null)

    No description

    void
    uv_write(UVStream $handle, string $data, callable $callback)

    Send buffer to specified uv stream.

    void
    uv_write2(UVStream $handle, string $data, UVTcp|UvPipe $send, callable $callback)

    No description

    void
    var_dump(mixed ...$vars)

    Dumps information about a variable

    string|null
    var_export(mixed $value, bool $return = false)

    Outputs or returns a parsable string representation of a variable

    mixed
    variant_abs(mixed $val)

    (PHP 5, PHP 7)
    Returns the absolute value of a variant

    mixed
    variant_add(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    "Adds" two variant values together and returns the result

    mixed
    variant_and(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Performs a bitwise AND operation between two variants

    variant_cast(VARIANT $variant, int $type)

    (PHP 5, PHP 7)
    Convert a variant into a new variant object of another type

    mixed
    variant_cat(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Concatenates two variant values together and returns the result

    int
    variant_cmp(mixed $left, mixed $right, int $lcid = null, int $flags = null)

    (PHP 5, PHP 7)
    Compares two variants

    variant_date_from_timestamp(int $timestamp)

    (PHP 5, PHP 7)
    Returns a variant date representation of a Unix timestamp

    int
    variant_date_to_timestamp(VARIANT $variant)

    (PHP 5, PHP 7)
    Converts a variant date/time value to Unix timestamp

    mixed
    variant_div(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Returns the result from dividing two variants

    mixed
    variant_eqv(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Performs a bitwise equivalence on two variants

    mixed
    variant_fix(mixed $variant)

    (PHP 5, PHP 7)
    Returns the integer portion of a variant

    int
    variant_get_type(VARIANT $variant)

    (PHP 5, PHP 7)
    Returns the type of a variant object

    mixed
    variant_idiv(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Converts variants to integers and then returns the result from dividing them

    mixed
    variant_imp(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Performs a bitwise implication on two variants

    mixed
    variant_int(mixed $variant)

    (PHP 5, PHP 7)
    Returns the integer portion of a variant

    mixed
    variant_mod(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Divides two variants and returns only the remainder

    mixed
    variant_mul(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Multiplies the values of the two variants

    mixed
    variant_neg(mixed $variant)

    (PHP 5, PHP 7)
    Performs logical negation on a variant

    mixed
    variant_not(mixed $variant)

    (PHP 5, PHP 7)
    Performs bitwise not negation on a variant

    mixed
    variant_or(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Performs a logical disjunction on two variants

    mixed
    variant_pow(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Returns the result of performing the power function with two variants

    mixed
    variant_round(mixed $variant, int $decimals)

    (PHP 5, PHP 7)
    Rounds a variant to the specified number of decimal places

    void
    variant_set(VARIANT $variant, mixed $value)

    (PHP 5, PHP 7)
    Assigns a new value for a variant object

    void
    variant_set_type(VARIANT $variant, int $type)

    (PHP 5, PHP 7)
    Convert a variant into another type "in-place"

    mixed
    variant_sub(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Subtracts the value of the right variant from the left variant value

    mixed
    variant_xor(mixed $left, mixed $right)

    (PHP 5, PHP 7)
    Performs a logical exclusion on two variants

    int|bool
    version_compare(string $version1, string $version2, string|null $operator)

    Compares two "PHP-standardized" version number strings

    int
    vfprintf(resource $stream, string $format, array $values)

    Write a formatted string to a stream

    bool
    virtual(string $filename)

    Perform an Apache sub-request virtual() is an Apache-specific function which is similar to in mod_include. It performs an Apache sub-request. It is useful for including CGI scripts or .shtml files, or anything else that you would parse through Apache. Note that for a CGI script, the script must generate valid CGI headers. At the minimum that means it must generate a Content-Type header.

    int
    vprintf(string $format, array $values)

    Output a formatted string

    string
    vsprintf(string $format, array $values)

    Return a formatted string

    int
    wb_call_function($address, array $args = [])

    Calls the DLL function pointed by address.

    int
    wb_create_font($name, $height, null $color = null, null $flags = null)

    Creates a new font. name is the font name, height is its height in points (not pixels), and color is a RGB color value. flags can be a combination of the following values:.

    int
    wb_create_image(int $width = 0, int $height = 0, null $dibbmi = null, null $dibbits = null)

    Creates a true-color image measuring width by height pixels.

    int
    wb_create_mask($bitmap, $transparent_color)

    Creates a transparency mask of a true-color bitmap.

    int
    wb_create_timer($window, $id, $interval)

    Creates a timer in the specified window.

    int
    wb_create_window($parent, $wclass, null $caption = null, null $xpos = null, null $ypos = null, null $width = null, null $height = null, null $style = null, null $param = null)

    Creates a window of class wclass. Click here for a list of the available window classes.

    bool
    wb_delete_items($ctrl, null $items = null)

    Deletes an item, a range of items, or all items from a control. Returns TRUE on success or FALSE if an error occurs.

    bool
    wb_destroy_control($control)

    Destroys a control created by wb_create_control().

    bool
    wb_destroy_font($nfont)

    Destroys a font.

    bool
    wb_destroy_image($image)

    Destroys an image created by wb_create_image(), wb_create_mask() or wb_load_image().

    bool
    wb_destroy_timer($window, $id)

    Destroys a timer created with wb_create_timer().

    bool
    wb_destroy_window($window)

    Destroys a window created by wb_create_window().

    bool
    wb_draw_ellipse($target, $xpos, $ypos, $width, $height, $color, null $filled = null, null $linewidth = null, null $linestyle = null)

    Draws a filled or hollow rectangle.

    bool
    wb_draw_image($target, $bitmap, int $xpos = 0, int $ypos = 0, null $width = null, null $height = null, null $transparentcolor = null, null $xoffset = null, null $yoffset = null)

    Draws a bitmap. The first parameter, target, may be a WinBinder object, a window handle, a drawing surface or another bitmap.

    bool
    wb_draw_line($target, $x0, $y0, $x1, $y1, $color, null $linewidth = null, null $linestyle = null)

    Draws a straight line. The first parameter, target, may be a WinBinder object, a window handle, a drawing surface or a bitmap.

    bool
    wb_draw_point($source, $xpos, $ypos, $color)

    Draws a point of color, setting the RGB color value of the pixel that exists at the given coordinates.

    bool
    wb_draw_rect($target, $xpos, $ypos, $width, $height, $color, null $filled = null, null $linewidth = null, null $linestyle = null)

    Draws a filled or hollow rectangle.

    int
    wb_draw_text($target, $text, $xpos, $ypos, null $width = null, null $height = null, null $font = null, null $flags = null)

    Draws a string. The first parameter, target, may be a WinBinder object, a window handle, a drawing surface or a bitmap.

    bool
    wb_exec($command, null $param = null)

    Opens or executes a command. The string passed to this function can be one of the following:.

    string
    wb_find_file($filename)

    Looks for a file in the Windows and System directories, in this order.

    int
    wb_get_address($var)

    Returns the address (as an integer pointer) of the variable var.

    int
    wb_get_class($wbobject)

    Returns an integer that corresponds to the class of the object (control, window or menu) passed as the parameter.

    int
    wb_get_control($wbobject, $id)

    Returns an integer handle that corresponds to the WinBinder object (control, toolbar item or menu item) wbobject that has the supplied identifier id.

    bool
    wb_get_enabled($wbobject)

    Returns TRUE if wbobject is enabled or FALSE otherwise.

    int
    wb_get_focus()

    Returns a handle to the window or control that has the keyboard focus.

    int
    wb_get_function_address($fname, $idlib)

    Returns the address of a library function. fname is the function name and idlib identifies a library already loaded.

    int
    wb_get_id($wbobject)

    Returns the integer identifier of the wbobject control.

    int
    wb_get_image_data($image, $compress4to3)

    Returns a string of data containing a copy of the internal true-color representation of the given image.

    bool
    wb_get_instance($caption, null $bringtofront = null)

    Detects a running instance of a WinBinder application.

    int
    wb_get_item_count($wbobject)

    Returns the number of items of wbobject.

    array
    wb_get_item_list($wbobject)

    Returns an array with a list of the child controls in window or control wbobject. Each element is an integer identifier that represents a WinBinder object.

    int
    wb_get_level($wbobject, $item)

    Retrieves an integer representing the level of a control item.

    int
    wb_get_midi_callback()

    returns a pointer to MidiOutProc (can also be used for MidiInProc, WaveInProc, WaveOutProc or any similar callback) for use with functions like midiOutOpen.

    int
    wb_get_parent($wbobject, null $item = null)

    Returns the handle of the control parent if item specifies a control, or the node parent if item specifies a treeview node.

    int
    wb_get_pixel($source, $xpos, $ypos)

    Returns the RGB color value of the pixel at the given coordinates. The first parameter, source, may be a WinBinder object, a window handle, a drawing surface or a bitmap.

    array
    wb_get_position($wbobject, null $clientarea = null)

    Returns an array with the position of the control or window related to its parent, in pixels.

    string|null
    wb_get_registry_key($key, $subkey, null $entry = null)

    Reads a string or integer value from the Windows registry item referenced by key, subkey and entry.

    mixed
    wb_get_selected($wbobject)

    Returns a value or array with the indices or identifiers of the selected elements or items in wbobject.

    array
    wb_get_size($object, null $param = null)

    Gets the dimensions of a control, window, image or string.

    bool
    wb_get_state($wbobject, null $item = null)

    Retrieves an integer representing the current state of a control item.

    mixed
    wb_get_system_info($info)

    Returns information about the current system and application, according to the string info.

    mixed
    wb_get_value(null $wbobject, int $item = -1, int $subitem = -1)

    Retrieves the value of a control or control item. The item and subitem parameters are set to -1 if absent.

    bool
    wb_get_visible($wbobject)

    Tells whether an object is visible. Returns TRUE if wbobject is visible and FALSE otherwise.

    int
    wb_load_image($filename, null $index = null, null $param = null)

    Loads the image, icon or cursor file filename from disk and returns a handle to it.

    int
    wb_load_library($libname)

    Loads a DLL into memory. Returns an integer identifying libname. If libname is NULL then returns the identifier of the last library returned. The function accepts fully qualified and raw names. Returns NULL if no library was found.

    void
    wb_main_loop()

    Enters the Windows main loop.

    int
    wb_message_box($parent, $message, null $title = null, null $style = null)

    Creates and displays a message box under the style supplied and returns a value according to the button pressed.

    string
    wb_peek($address, int $length = 0)

    Gets the contents of a memory area pointed by address.

    bool
    wb_play_sound($source, null $command = null)

    Loads and plays a sound file or system sound.

    bool
    wb_poke($address, $contents, null $length = null)

    Sets the contents of a memory area pointed by address.

    int
    wb_refresh($wbobject, null $now = null, null $xpos = null, null $ypos = null, null $width = null, null $height = null)

    Refreshes or redraws the WinBinder object wbobject, forcing an immediate redraw if the parameter now is TRUE (the default).

    bool
    wb_release_library($idlib)

    Releases the DLL identified by idlib from memory. The idlib identifier must have been obtained with a call to wb_load_library().

    bool
    wb_save_image($image, $filename)

    Saves the bitmap image to file filename.

    int
    wb_send_message($wbobject, $message, $wparam = 0, $lparam = 0)

    Sends a Windows message to the HWND handle of the WinBinder object wbobject.

    bool
    wb_set_area($window, $type, null $x = null, null $y = null, null $width = null, null $height = null)

    Sets a specific area in a window. Possible values for type are:.

    bool
    wb_set_cursor($wbobject, $source)

    Set or change the mouse cursor shape of a window, control, a whole class or application-wide. * The cursor can be set for any window class and for control classes ImageButton, InvisibleArea (deprecated), HyperLink and EditBox.

    bool
    wb_set_enabled($control, $enabled)

    Enables or disables control according to the value of enabled.

    bool
    wb_set_focus($wbobject)

    Assigns the keyboard focus to wbobject. Returns TRUE on success or FALSE if an error occurs.

    bool
    wb_set_font($control, null $font = null, null $redraw = null)

    Sets the font of control. font is a unique integer value returned by wb_create_font().

    bool|null
    wb_set_handler($window, $fn_handler)

    Assigns the callback function fn_handler to window.

    bool
    wb_set_image($wbobject, $source, null $transparentcolor = null, null $index = null, null $param = null)

    Assigns the image source to the WinBinder object wbobject.

    bool
    wb_set_item_image($wbobject, $index, null $item = null, null $subitem = null)

    Retrieves a portion of the image already assigned to a control and assigns it to a item (and optional subitem).

    bool
    wb_set_location($wbobject, $location)

    Sets the location of an HTMLControl or sends a special command to it.

    bool
    wb_set_position($wbobject, null $xpos = null, null $ypos = null)

    Moves the object wbobject to the coordinates xpos, ypos in relation to its parent window.

    bool
    wb_set_range($control, $vmin, $vmax)

    Sets the valid range of values (vmin and vmax) of a control. Valid classes are Gauge, ScrollBar, Slider and Spinner.

    bool
    wb_set_registry_key($key, $subkey, null $entry = null, null $value = null)

    Reads a string or integer value from the Windows registry item referenced by key, subkey and entry.

    bool
    wb_set_size($wbobject, $width, null $height = null)

    Sizes the object wbobject to width and height pixels.

    bool
    wb_set_state($wbobject, $item, $state)

    Sets the state of a control item (a treeview node). Returns TRUE on success or FALSE if an error occurs.

    bool
    wb_set_style($wbobject, $style, $set)

    Sets or resets one or more styles of the WinBinder object wbobject.

    bool
    wb_set_visible($wbobject, $visible)

    Shows or hides the WinBinder object wbobject according to the value of visible.

    bool
    wb_sort($control, null $ascending = null, null $subitem = null)

    Sorts the contents of a control, a control item, a ListView column or a sub-item.

    bool
    wb_stop_sound(null $command = null)

    Stops one or more sounds that were started with wb_play_sound().

    int
    wb_sys_dlg_color($parent, null $title = null, null $color = null)

    Displays the standard Select Color dialog box. Returns a RGB value which is the selected color value or NOCOLOR if the dialog box was canceled. Returns NULL if not successful.

    string
    wb_sys_dlg_path($parent, null $title = null, null $path = null)

    Displays the standard Select Path dialog box. Returns the name of the selected path, if any, or a blank string if the dialog box was canceled. Returns NULL if not successful.

    int
    wb_wait(null $window = null, null $pause = null, null $flags = null)

    This function creates a delay and verifies if mouse buttons are pressed and/or the keyboard state.

    int
    wbtemp_clear_listview_columns($ctrl)

    No description

    int
    wbtemp_create_control($parent, $class, $caption, $xpos, $ypos, $width, $height, $id, $style, $lparam, $ntab)

    No description

    int
    wbtemp_create_item($ctrl, $str)

    No description

    int
    wbtemp_create_listview_column($ctrl, $i, $text, $width, $align)

    No description

    int
    wbtemp_create_listview_item($ctrl, $item, $image, $value)

    No description

    int
    wbtemp_create_menu($parent, $caption)

    No description

    int
    wbtemp_create_statusbar_items($ctrl, $items, $clear, $param)

    No description

    int
    wbtemp_create_toolbar($parent, $caption, $width, $height, $lparam)

    No description

    int
    wbtemp_create_treeview_item($ctrl, $name, $value, $where = 0, $image_index = 0, $selected_image = 0, $selected_image_index = 0)

    No description

    int
    wbtemp_get_listview_columns($ctrl)

    Get the number of columns in the pwbo control,

    bool
    wbtemp_get_listview_item_checked($ctrl, $item)

    Return TRUE if the item's checkbox is checked

    mixed
    wbtemp_get_listview_text($ctrl, $item)

    No description

    int
    wbtemp_get_menu_item_checked($ctrl, $item)

    No description

    int
    wbtemp_get_text($ctrl, null $item = null)

    No description

    int
    wbtemp_get_treeview_item_text($ctrl, $item)

    No description

    int
    wbtemp_select_all_listview_items($ctrl, $bool)

    No description

    int
    wbtemp_select_listview_item($ctrl, $item, $selected)

    No description

    int
    wbtemp_select_tab($ctrl, $selitems)

    No description

    int
    wbtemp_set_accel_table($parent, $accels)

    No description

    int
    wbtemp_set_listview_item_checked($ctrl, $index, $value)

    No description

    int
    wbtemp_set_listview_item_text($ctrl, $item, $subitem, $text)

    No description

    int
    wbtemp_set_menu_item_checked($ctrl, $selitems, $selected)

    No description

    int
    wbtemp_set_menu_item_image($ctrl, $item, $imageHandle)

    No description

    int
    wbtemp_set_menu_item_selected($ctrl, int $item, bool $selected)

    No description

    int
    wbtemp_set_text($ctrl, $text, $item)

    No description

    int
    wbtemp_set_treeview_item_selected($ctrl, $selitems)

    No description

    bool
    wbtemp_set_treeview_item_text($ctrl, $item, $text)

    No description

    int
    wbtemp_set_treeview_item_value($ctrl, $item, $value)

    No description

    int
    wbtemp_set_value($ctrl, $value, $item = null)

    No description

    int
    wbtemp_sys_dlg_open($parent, null $title = null, null $filter = null, null $path = null, null $flags = null)

    No description

    int
    wbtemp_sys_dlg_save($wbObj, string $title = '', string $filter = '', string $path = '', string $filename = '', string $defext = '')

    No description

    bool
    wddx_add_vars(resource $packet_id, mixed ...$var_names)

    Add variables to a WDDX packet with the specified ID

    mixed
    wddx_deserialize(string $packet)

    Unserializes a WDDX packet

    string
    wddx_packet_end(resource $packet_id)

    Ends a WDDX packet with the specified ID

    resource|false
    wddx_packet_start(string $comment = null)

    Starts a new WDDX packet with structure inside it

    string|false
    wddx_serialize_value(mixed $var, string $comment = null)

    Serialize a single value into a WDDX packet

    string|false
    wddx_serialize_vars(mixed ...$var_names)

    Serialize variables into a WDDX packet

    int|false
    win32_continue_service(string $serviceName, string $machine = "")

    resumes a paused service

    int|false
    win32_create_service(array $details, string $machine = "")

    Creates a new service entry in the SCM database

    int|false
    win32_delete_service(string $serviceName, string $machine = "")

    Deletes a service entry from the SCM database This function really just marks the service for deletion. If other processes (such as the Services Applet) are open, then the deletion will be deferred until those applications are closed. If a service is marked for deletion, further attempts to delete it will fail, and attempts to create a new service with that name will also fail.

    int
    win32_get_last_control_message()

    Returns the last control message that was sent to this service When running as a service you should periodically check this to determine if your service needs to stop running.

    int|false
    win32_pause_service(string $serviceName, string $machine = "")

    Pauses a named service. Requires administrative privileges.

    array|false
    win32_query_service_status(string $serviceName, string $machine = "")

    Queries the current status for a service, returning an array of information.

    bool|int
    win32_set_service_status(int $status, int $checkpoint = 0)

    Update the service status Informs the SCM of the current status of a running service. This call is only valid for a running service process.

    int|false
    win32_start_service(string $serviceName, string $machine = "")

    Starts a service Attempts to start the named service. Usually requires administrative privileges.

    bool|int
    win32_start_service_ctrl_dispatcher(string $name)

    Registers the script with the SCM, so that it can act as the service with the given name When launched via the Service Control Manager, a service process is required to "check-in" with it to establish service monitoring and communication facilities. This function performs the check-in by spawning a thread to handle the lower-level communication with the service control manager.

    int|false
    win32_stop_service(string $serviceName, string $machine = "")

    Stops a named service. Requires administrative privileges.

    array|false
    wincache_fcache_fileinfo(bool $summaryonly = false)

    (PHP 5.2+; PECL wincache >= 1.0.0)
    Retrieves information about files cached in the file cache

    array|false
    wincache_fcache_meminfo()

    (PHP 5.2+; PECL wincache >= 1.0.0)
    Retrieves information about memory usage by file cache.

    bool
    wincache_lock(string $key, bool $isglobal = false)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Obtains an exclusive lock on a given key.

    array|false
    wincache_ocache_fileinfo(bool $summaryonly = false)

    (PHP 5.2+; PECL wincache >= 1.0.0)
    Retrieves information about opcode cache content and its usage

    array|false
    wincache_ocache_meminfo()

    (PHP 5.2+; PECL wincache >= 1.0.0)
    Retrieves information about memory usage by opcode cache.

    bool
    wincache_refresh_if_changed(array $files)

    (PHP 5.2+; PECL wincache >= 1.0.0)
    Refreshes the cache entries for the files, whose names were passed in the input argument.

    array|false
    wincache_rplist_fileinfo()

    (PHP 5.2+; PECL wincache >= 1.0.0)
    Retrieves information about cached mappings between relative file paths and corresponding absolute file paths.

    array|false
    wincache_rplist_meminfo()

    (PHP 5.2+; PECL wincache >= 1.0.0)
    Retrieves information about memory usage by resolve file path cache.

    array|false
    wincache_scache_info(bool $summaryonly = false)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Retrieves information about session cache content and its usage.

    array|false
    wincache_scache_meminfo()

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Retrieves information about memory usage by session cache.

    bool
    wincache_ucache_add(string $key, mixed $value, int $ttl = 0)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Adds a variable in user cache, only if this variable doesn't already exist in the cache.

    bool
    wincache_ucache_cas(string $key, int $old_value, int $new_value)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Compares the variable associated with the key with old_value and if it matches then assigns the new_value to it.

    bool
    wincache_ucache_clear()

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Clears/deletes all the values stored in the user cache.

    int|false
    wincache_ucache_dec(string $key, int $dec_by = 1, bool|null $success)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Decrements the value associated with the key by 1 or as specified by dec_by.

    bool
    wincache_ucache_delete(string|string[] $key)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Deletes the elements in the user cache pointed by key.

    bool
    wincache_ucache_exists(string $key)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Checks if a variable with the key exists in the user cache or not.

    mixed
    wincache_ucache_get(string|string[] $key, bool|null $success)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Gets a variable stored in the user cache.

    int|false
    wincache_ucache_inc(string $key, int $inc_by = 1, bool|null $success)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Increments the value associated with the key by 1 or as specified by inc_by.

    array|false
    wincache_ucache_info(bool $summaryonly = false, null|string $key = null)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Retrieves information about data stored in the user cache.

    array|false
    wincache_ucache_meminfo()

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Retrieves information about memory usage by user cache.

    bool
    wincache_ucache_set(string|string[] $key, mixed $value, int $ttl = 0)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Adds a variable in user cache and overwrites a variable if it already exists in the cache.

    bool
    wincache_unlock(string $key)

    (PHP 5.2+; PECL wincache >= 1.1.0)
    Releases an exclusive lock that was obtained on a given key by using wincache_lock().

    string
    wordwrap(string $string, int $width = 75, string $break = "\n", bool $cut_long_words = false)

    Wraps a string to a given number of characters

    string
    xcache_asm(string $filename)

    No description

    void
    xcache_clear_cache(int $type, int $id = -1)

    Clear cache by id on specified cache type

    string
    xcache_coredump(int $op_type)

    No description

    int
    xcache_count(int $type)

    Return count of cache on specified cache type

    array
    xcache_coverager_decode(string $data)

    No description

    array
    xcache_coverager_get(bool $clean = false)

    No description

    void
    xcache_coverager_start(bool $clean = true)

    No description

    void
    xcache_coverager_stop(bool $clean = false)

    No description

    string
    xcache_dasm_file(string $filename)

    Disassemble file into opcode array by filename

    string
    xcache_dasm_string(string $code)

    Disassemble php code into opcode array

    int
    xcache_dec(string $name, mixed $value = 1, int $ttl = 0)

    Decrease an int counter in cache by specified name, create it if not exists

    bool
    xcache_decode(string $filename)

    Decode(load) opcode from XCache encoded format file

    string
    xcache_encode(string $filename)

    Encode php file into XCache opcode encoded format

    mixed
    xcache_get(string $name)

    Get cached data by specified name

    string
    xcache_get_data_type(int $type)

    No description

    string
    xcache_get_op_spec(int $op_type)

    No description

    string
    xcache_get_op_type(int $op_type)

    No description

    string
    xcache_get_opcode(int $opcode)

    No description

    string
    xcache_get_opcode_spec(int $opcode)

    No description

    int
    xcache_inc(string $name, mixed $value = 1, int $ttl = 0)

    Increase an int counter in cache by specified name, create it if not exists

    array
    xcache_info(int $type, int $id)

    Get cache info by id on specified cache type

    string
    xcache_is_autoglobal(string $name)

    No description

    bool
    xcache_isset(string $name)

    Check if an entry exists in cache by specified name

    array
    xcache_list(int $type, int $id)

    Get cache entries list by id on specified cache type

    bool
    xcache_set(string $name, mixed $value, int $ttl = 0)

    Store data to cache by specified name

    bool
    xcache_unset(string $name)

    Unset existing data in cache by specified name

    bool
    xcache_unset_by_prefix(string $prefix)

    Unset existing data in cache by specified prefix

    bool
    xdebug_break()

    This function makes the debugger break on the specific line as if a normal file/line breakpoint was set on this line.

    mixed
    xdebug_call_class(int $depth = 2)

    This function returns the name of the class that defined the current method, NULL if the stack frame does not exist, or FALSE if no class is associated with this call.

    mixed
    xdebug_call_file(int $depth = 2)

    This function returns the filename from where the current function/method was executed from, or NULL if the stack frame does not exist

    mixed
    xdebug_call_function(int $depth = 2)

    This function returns the name of the current function/method, NULL if the stack frame does not exist, or FALSE if the stack frame has no function/method information

    mixed
    xdebug_call_line(int $depth = 2)

    This function returns the line number from where the current function/method was called from, or NULL if the stack frame does not exist

    bool
    xdebug_clear_aggr_profiling_data()

    No description

    bool
    xdebug_code_coverage_started()

    Returns whether code coverage is active.

    bool
    xdebug_connect_to_client()

    No description

    void
    xdebug_debug_zval(string ...$varname)

    This function displays structured information about one or more variables that includes its type, value and refcount information.

    void
    xdebug_debug_zval_stdout(string ...$varname)

    This function displays structured information about one or more variables that includes its type, value and refcount information.

    void
    xdebug_disable()

    Disable showing stack traces on error conditions.

    bool
    xdebug_dump_aggr_profiling_data($prefix)

    No description

    void
    xdebug_dump_superglobals()

    This function dumps the values of the elements of the super globals as specified with the xdebug.dump.* php.ini settings.

    void
    xdebug_enable()

    Enable showing stack traces on error conditions.

    array
    xdebug_get_code_coverage()

    Returns a structure which contains information about which lines were executed in your script (including include files).

    array
    xdebug_get_collected_errors(bool $emptyList = false)

    This function returns all errors from the collection buffer that contains all errors that were stored there when error collection was started with xdebug_start_error_collection().

    array
    xdebug_get_declared_vars()

    Returns an array where each element is a variable name which is defined in the current scope.

    xdebug_get_formatted_function_stack()

    No description

    int
    xdebug_get_function_count()

    Returns the number of functions called, including constructors, desctructors and methods.

    array
    xdebug_get_function_stack(array $options = [])

    Returns an array which resembles the stack trace up to this point.

    int
    xdebug_get_gc_run_count()

    No description

    int
    xdebug_get_gc_total_collected_roots()

    No description

    mixed
    xdebug_get_gcstats_filename()

    Returns the name of the file which is used to save garbage collection information to, or false if statistics collection is not active.

    array
    xdebug_get_headers()

    Returns all the headers that are set with PHP's header() function, or any other header set internally within PHP (such as through setcookie()), as an array.

    array
    xdebug_get_monitored_functions()

    Returns a structure which contains information about where the monitored functions were executed in your script.

    string|false
    xdebug_get_profiler_filename()

    Returns the name of the file which is used to save profile information to.

    int
    xdebug_get_stack_depth()

    Returns the stack depth level.

    string|null
    xdebug_get_tracefile_name()

    Returns the name of the file which is used to trace the output of this script too.

    xdebug_info(string $category = 'null')

    Show diagnostic information

    bool
    xdebug_is_debugger_active()

    Returns whether a debugging session is active.

    bool
    xdebug_is_enabled()

    Return whether stack traces would be shown in case of an error or not.

    int
    xdebug_memory_usage()

    Returns the current amount of memory the script uses.

    bool
    xdebug_notify(mixed $data)

    No description

    int
    xdebug_peak_memory_usage()

    Returns the maximum amount of memory the script used until now.

    void
    xdebug_print_function_stack(string $message = 'user triggered', int $options = 0)

    Displays the current function stack, in a similar way as what Xdebug would display in an error situation.

    void
    xdebug_set_filter(int $group, int $listType, array $configuration)

    No description

    void
    xdebug_start_code_coverage(int $options = 0)

    This function starts gathering the information for code coverage.

    void
    xdebug_start_error_collection()

    Starts recording all notices, warnings and errors and prevents their display

    void
    xdebug_start_function_monitor(array $listOfFunctionsToMonitor)

    This function starts the monitoring of functions that were given in a list as argument to this function.

    mixed
    xdebug_start_gcstats(string|null $gcstatsFile = null)

    No description

    string|null
    xdebug_start_trace(string|null $traceFile = null, int $options = 0)

    Start tracing function calls from this point to the file in the trace_file parameter.

    void
    xdebug_stop_code_coverage(bool $cleanUp = true)

    This function stops collecting information, the information in memory will be destroyed.

    void
    xdebug_stop_error_collection()

    When this function is executed, error collection as started by xdebug_start_error_collection() is aborted.

    void
    xdebug_stop_function_monitor()

    This function stops the function monitor.

    string
    xdebug_stop_gcstats()

    Stop garbage collection statistics collection and closes the output file.

    string
    xdebug_stop_trace()

    Stop tracing function calls and closes the trace file.

    float
    xdebug_time_index()

    Returns the current time index since the starting of the script in seconds.

    void
    xdebug_var_dump(mixed ...$variable)

    This function displays structured information about one or more expressions that includes its type and value.

    bool
    xdiff_file_bdiff(string $old_file, string $new_file, string $dest)

    Make binary diff of two files

    int
    xdiff_file_bdiff_size(string $file)

    Read a size of file created by applying a binary diff

    bool
    xdiff_file_bpatch(string $file, string $patch, string $dest)

    Patch a file with a binary diff

    bool
    xdiff_file_diff(string $old_file, string $new_file, string $dest, int $context = 3, bool $minimal = false)

    Make unified diff of two files

    bool
    xdiff_file_diff_binary(string $old_file, string $new_file, string $dest)

    Alias of xdiff_file_bdiff

    bool|string
    xdiff_file_merge3(string $old_file, string $new_file1, string $new_file2, string $dest)

    Merge 3 files into one

    bool|string
    xdiff_file_patch(string $file, string $patch, string $dest, int $flags = XDIFF_PATCH_NORMAL)

    Patch a file with an unified diff

    bool
    xdiff_file_patch_binary(string $file, string $patch, string $dest)

    Alias of xdiff_file_bpatch

    bool
    xdiff_file_rabdiff(string $old_file, string $new_file, string $dest)

    Make binary diff of two files using the Rabin's polynomial fingerprinting algorithm

    string|false
    xdiff_string_bdiff(string $old_data, string $new_data)

    Make binary diff of two strings

    int
    xdiff_string_bdiff_size(string $patch)

    Read a size of file created by applying a binary diff

    string|false
    xdiff_string_bpatch(string $str, string $patch)

    Patch a string with a binary diff

    string|false
    xdiff_string_diff(string $old_data, string $new_data, int $context = 3, bool $minimal = false)

    Make unified diff of two strings

    string|false
    xdiff_string_diff_binary(string $old_data, string $new_data)

    Alias of xdiff_string_bdiff

    bool|string
    xdiff_string_merge3(string $old_data, string $new_data1, string $new_data2, string|null $error)

    Merge 3 strings into one

    string|false
    xdiff_string_patch(string $str, string $patch, int|null $flags, string|null $error)

    Patch a string with an unified diff

    string|false
    xdiff_string_patch_binary(string $str, string $patch)

    Alias of xdiff_string_bpatch

    string|false
    xdiff_string_rabdiff(string $old_data, string $new_data)

    Make binary diff of two strings using the Rabin's polynomial fingerprinting algorithm

    array
    xhprof_disable()

    (PHP >= 5.2.0, PECL xhprof >= 0.9.0)
    Stops the profiler, and returns xhprof data from the run.

    null
    xhprof_enable(int $flags = 0, array $options = [])

    (PHP >= 5.2.0, PECL xhprof >= 0.9.0)
    Start xhprof profiler.

    array
    xhprof_sample_disable()

    (PHP >= 5.2.0, PECL xhprof >= 0.9.0)
    Stops the sample mode xhprof profiler, and returns xhprof data from the run.

    null
    xhprof_sample_enable()

    (PHP >= 5.2.0, PECL xhprof >= 0.9.0)
    Starts profiling in sample mode, which is a lighter weight version of {xhprof_enable()}. The sampling interval is 0.1 seconds, and samples record the full function call stack. The main use case is when lower overhead is required when doing performance monitoring and diagnostics.

    string|null
    xml_error_string(int $error_code)

    Get XML parser error string

    int|false
    xml_get_current_byte_index(XMLParser|resource $parser)

    Get current byte index for an XML parser

    int|false
    xml_get_current_column_number(XMLParser|resource $parser)

    Get current column number for an XML parser

    int|false
    xml_get_current_line_number(XMLParser|resource $parser)

    Get current line number for an XML parser

    int|false
    xml_get_error_code(XMLParser|resource $parser)

    Get XML parser error code

    int
    xml_parse(XMLParser|resource $parser, string $data, bool $is_final = false)

    Start parsing an XML document

    int
    xml_parse_into_struct(XMLParser|resource $parser, string $data, array $values, array $index)

    Parse XML data into an array structure

    resource|false|XMLParser
    xml_parser_create(string|null $encoding)

    Create an XML parser

    resource|false|XMLParser
    xml_parser_create_ns(string|null $encoding, string $separator = ':')

    Create an XML parser with namespace support

    bool
    xml_parser_free(XMLParser|resource $parser)

    Free an XML parser

    string|int|bool
    xml_parser_get_option(XMLParser|resource $parser, int $option)

    Get options from an XML parser

    bool
    xml_parser_set_option(XMLParser|resource $parser, int $option, mixed $value)

    Set options in an XML parser

    bool
    xml_set_character_data_handler(XMLParser|resource $parser, callable $handler)

    Set up character data handler

    bool
    xml_set_default_handler(XMLParser|resource $parser, callable $handler)

    Set up default handler

    bool
    xml_set_element_handler(XMLParser|resource $parser, callable $start_handler, callable $end_handler)

    Set up start and end element handlers

    bool
    xml_set_end_namespace_decl_handler(XMLParser|resource $parser, callable $handler)

    Set up end namespace declaration handler

    bool
    xml_set_external_entity_ref_handler(XMLParser|resource $parser, callable $handler)

    Set up external entity reference handler

    bool
    xml_set_notation_decl_handler(XMLParser|resource $parser, callable $handler)

    Set up notation declaration handler

    bool
    xml_set_object(XMLParser|resource $parser, object $object)

    Use XML Parser within an object

    bool
    xml_set_processing_instruction_handler(XMLParser|resource $parser, callable $handler)

    Set up processing instruction (PI) handler

    bool
    xml_set_start_namespace_decl_handler(XMLParser|resource $parser, callable $handler)

    Set up start namespace declaration handler

    bool
    xml_set_unparsed_entity_decl_handler(XMLParser|resource $parser, callable $handler)

    Set up unparsed entity declaration handler

    mixed
    xmlrpc_decode(string $xml, string $encoding = "iso-8859-1")

    Decodes XML into native PHP types

    mixed
    xmlrpc_decode_request(string $xml, string $method, string $encoding = null)

    Decodes XML into native PHP types

    string
    xmlrpc_encode(mixed $value)

    Generates XML for a PHP value

    string
    xmlrpc_encode_request(string $method, mixed $params, array|null $output_options = null)

    Generates XML for a method request

    string
    xmlrpc_get_type(mixed $value)

    Gets xmlrpc type for a PHP value

    bool
    xmlrpc_is_fault(array $arg)

    Determines if an array value represents an XMLRPC fault

    array
    xmlrpc_parse_method_descriptions(string $xml)

    Decodes XML into a list of method descriptions

    int
    xmlrpc_server_add_introspection_data(resource $server, array $desc)

    Adds introspection documentation

    string
    xmlrpc_server_call_method(resource $server, string $xml, mixed $user_data, array|null $output_options = null)

    Parses XML requests and call methods

    resource
    xmlrpc_server_create()

    Creates an xmlrpc server

    int
    xmlrpc_server_destroy(resource $server)

    Destroys server resources

    bool
    xmlrpc_server_register_introspection_callback(resource $server, string $function)

    Register a PHP function to generate documentation

    bool
    xmlrpc_server_register_method(resource $server, string $method_name, callable $function)

    Register a PHP function to resource method matching method_name

    bool
    xmlrpc_set_type(string $value, string $type)

    Sets xmlrpc type, base64 or datetime, for a PHP string value

    bool
    xmlwriter_end_attribute(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End attribute

    bool
    xmlwriter_end_cdata(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current CDATA

    bool
    xmlwriter_end_comment(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
    Create end comment

    bool
    xmlwriter_end_document(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current document

    bool
    xmlwriter_end_dtd(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current DTD

    bool
    xmlwriter_end_dtd_attlist(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current DTD AttList

    bool
    xmlwriter_end_dtd_element($writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current DTD element

    bool
    xmlwriter_end_dtd_entity(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current DTD Entity

    bool
    xmlwriter_end_element(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current element

    bool
    xmlwriter_end_pi(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    End current PI

    string|int
    xmlwriter_flush(resource|XMLWriter $writer, bool $empty = true)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
    Flush current buffer

    bool
    xmlwriter_full_end_element(resource|XMLWriter $writer)

    (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)
    End current element

    XMLWriter|false|resource
    xmlwriter_open_memory()

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create new xmlwriter using memory for string output

    false|resource|XMLWriter
    xmlwriter_open_uri(string $uri)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create new xmlwriter using source uri for output

    string
    xmlwriter_output_memory(resource|XMLWriter $writer, bool $flush = true)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Returns current buffer

    bool
    xmlwriter_set_indent(resource|XMLWriter $writer, bool $enable)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Toggle indentation on/off

    bool
    xmlwriter_set_indent_string(resource|XMLWriter $writer, string $indentation)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Set string used for indenting

    bool
    xmlwriter_start_attribute(resource|XMLWriter $writer, string $name)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start attribute

    bool
    xmlwriter_start_attribute_ns(resource|XMLWriter $writer, string|null $prefix, string $name, string|null $namespace)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start namespaced attribute

    bool
    xmlwriter_start_cdata(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start CDATA tag

    bool
    xmlwriter_start_comment(resource|XMLWriter $writer)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)
    Create start comment

    bool
    xmlwriter_start_document(resource|XMLWriter $writer, string|null $version = '1.0', string|null $encoding, string|null $standalone)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create document tag

    bool
    xmlwriter_start_dtd(resource|XMLWriter $writer, string $qualifiedName, string|null $publicId, string|null $systemId)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start DTD tag

    bool
    xmlwriter_start_dtd_attlist(resource|XMLWriter $writer, string $name)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start DTD AttList

    bool
    xmlwriter_start_dtd_element(resource|XMLWriter $writer, string $qualifiedName)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start DTD element

    bool
    xmlwriter_start_dtd_entity(resource|XMLWriter $writer, string $name, bool $isParam)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start DTD Entity

    bool
    xmlwriter_start_element(resource|XMLWriter $writer, string $name)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start element tag

    bool
    xmlwriter_start_element_ns(resource|XMLWriter $writer, string|null $prefix, string $name, string|null $namespace)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start namespaced element tag

    bool
    xmlwriter_start_pi(resource|XMLWriter $writer, string $target)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Create start PI tag

    bool
    xmlwriter_text(resource|XMLWriter $writer, string $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write text

    bool
    xmlwriter_write_attribute(resource|XMLWriter $writer, string $name, string $value)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full attribute

    bool
    xmlwriter_write_attribute_ns(resource|XMLWriter $writer, string|null $prefix, string $name, string|null $namespace, string $value)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full namespaced attribute

    bool
    xmlwriter_write_cdata(resource|XMLWriter $writer, string $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full CDATA tag

    bool
    xmlwriter_write_comment(resource|XMLWriter $writer, string $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full comment tag

    bool
    xmlwriter_write_dtd(resource|XMLWriter $writer, string $name, string|null $publicId, string|null $systemId, string|null $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full DTD tag

    bool
    xmlwriter_write_dtd_attlist(resource|XMLWriter $writer, string $name, string $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full DTD AttList tag

    bool
    xmlwriter_write_dtd_element(resource|XMLWriter $writer, string $name, string $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full DTD element tag

    bool
    xmlwriter_write_dtd_entity(resource|XMLWriter $writer, string $name, string $content, bool $isParam = false, string|null $publicId = null, string|null $systemId = null, string|null $notationData = null)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full DTD Entity tag

    bool
    xmlwriter_write_element(resource|XMLWriter $writer, string $name, string|null $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full element tag

    bool
    xmlwriter_write_element_ns(resource|XMLWriter $writer, string|null $prefix, string $name, string|null $namespace, string|null $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Write full namespaced element tag

    bool
    xmlwriter_write_pi(resource|XMLWriter $writer, string $target, string $content)

    (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)
    Writes a PI

    bool
    xmlwriter_write_raw(resource|XMLWriter $writer, string $content)

    (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)
    Write a raw XML text

    string|false
    xxtea_decrypt(string $data, string $key)
    Since: 1.0.0

    Decrypts data.

    string
    xxtea_encrypt(string $data, string $key)
    Since: 1.0.0

    Encrypts data.

    string
    yaml_emit(mixed $data, int $encoding = YAML_ANY_ENCODING, int $linebreak = YAML_ANY_BREAK, array $callbacks = [])

    (PHP 5 >= 5.2.0, PECL yaml >= 0.5.0)

    bool
    yaml_emit_file(string $filename, mixed $data, int $encoding = YAML_ANY_ENCODING, int $linebreak = YAML_ANY_BREAK, array $callbacks = [])

    (PHP 5 >= 5.2.0, PECL yaml >= 0.5.0)
    Send the YAML representation of a value to a file

    mixed|false
    yaml_parse(string $input, int $pos = 0, int $ndocs = null, array $callbacks = [])

    (PHP 5 >= 5.2.0, PECL yaml >= 0.4.0)
    Parse a YAML stream

    mixed|false
    yaml_parse_file(string $filename, int $pos = 0, int $ndocs = null, array $callbacks = [])

    (PHP 5 >= 5.2.0, PECL yaml >= 0.4.0)
    Parse a YAML stream from a file

    mixed|false
    yaml_parse_url(string $url, int $pos = 0, int $ndocs = null, array $callbacks = [])

    (PHP 5 >= 5.2.0, PECL yaml >= 0.4.0)
    Parse a Yaml stream from a URL

    zem_get_extension_info_by_id()

    No description

    zem_get_extension_info_by_name()

    No description

    zem_get_extensions_info()

    No description

    zem_get_license_info()

    No description

    int
    zend_current_obfuscation_level()

    Returns the current obfuscation level support (set by zend_optimizer.obfuscation_level_support)

    bool
    zend_disk_cache_clear(string $namespace = '')

    Clear the entire Disk Memory cache or just the provided namespace.

    mixed|null
    zend_disk_cache_delete(string $key)

    Delete a key from the cache

    mixed|null
    zend_disk_cache_fetch(string $key)

    Retrieves data stored in the Shared Memory Cache

    array|false
    zend_disk_cache_info()

    Provide the user information about the memory data cache

    bool
    zend_disk_cache_store(string $key, mixed $value, int $ttl = 0)

    Stores a serializable variable into Disk Cache

    array
    zend_get_id(bool $all_ids = false)

    Returns array of the host ids. If all_ids is true, then all IDs are returned, otehrwise only IDs considered "primary" are returned.

    zend_is_configuration_changed()

    No description

    string
    zend_loader_current_file()

    Returns the name of the file currently being executed.

    bool
    zend_loader_enabled()

    Shown if loader is enabled

    bool
    zend_loader_file_encoded()

    Returns true if the current file is a Zend-encoded file.

    array
    zend_loader_file_licensed()

    Returns license (array with fields) if the current file has a valid license and is encoded, otherwise it returns false.

    bool
    zend_loader_install_license(string $license_file, bool $override)

    Dynamically loads a license for applications encoded with Zend SafeGuard. The Override controls if it will override old licenses for the same product.

    string
    zend_logo_guid()

    Gets the Zend guid

    string
    zend_obfuscate_class_name(string $class_name)

    Obfuscate and return the given class name with the internal obfuscation function.

    string
    zend_obfuscate_function_name(string $function_name)

    Obfuscate and return the given function name with the internal obfuscation function.

    string
    zend_optimizer_version()

    Returns Optimizer version. Alias: zend_loader_version()

    void
    zend_runtime_obfuscate()

    Start runtime-obfuscation support that allows limited mixing of obfuscated and un-obfuscated code.

    void|false
    zend_send_buffer(string $buffer, string $mime_type, string $custom_headers)

    Send a buffer using ZDS

    void|false
    zend_send_file(string $filename, string $mime_type, string $custom_headers)

    Send a file using ZDS

    zend_set_configuration_changed()

    No description

    bool
    zend_shm_cache_clear(string $namespace = '')

    Clear the entire Shared Memory cache or just the provided namespace.

    mixed|null
    zend_shm_cache_delete(string $key)

    Delete a key from the Shared Memory cache

    mixed|null
    zend_shm_cache_fetch(string $key)

    Retrieves data stored in the Shared Memory Cache.

    array|false
    zend_shm_cache_info()

    Provide the user information about the memory data cache

    bool
    zend_shm_cache_store(string $key, mixed $value, int $ttl = 0)

    Stores a serializable variable into Shared Memory Cache

    void
    zip_close(resource $zip)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Close a ZIP file archive

    bool
    zip_entry_close(resource $zip_entry)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Close a directory entry

    int|false
    zip_entry_compressedsize(resource $zip_entry)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Retrieve the compressed size of a directory entry

    string|false
    zip_entry_compressionmethod(resource $zip_entry)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Retrieve the compression method of a directory entry

    int|false
    zip_entry_filesize(resource $zip_entry)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Retrieve the actual file size of a directory entry

    string|false
    zip_entry_name(resource $zip_entry)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Retrieve the name of a directory entry

    bool
    zip_entry_open(resource $zip_dp, resource $zip_entry, string $mode = 'rb')

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Open a directory entry for reading

    string|false
    zip_entry_read(resource $zip_entry, int $len = 1024)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Read from an open directory entry

    resource|int|false
    zip_open(string $filename)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Open a ZIP file archive

    resource|false
    zip_read(resource $zip)
    deprecated

    (PHP 4 >= 4.1.0, PHP 5 >= 5.2.0, PECL zip >= 1.0.0)
    Read next entry in a ZIP file archive

    string|false
    zlib_decode(string $data, int $max_length = 0)
    Since: 5.4

    Uncompress any raw/gzip/zlib encoded data

    string|false
    zlib_encode(string $data, int $encoding, int $level = -1)
    Since: 5.4

    Compress data with the specified encoding

    string|false
    zlib_get_coding_type()

    Returns the coding type used for output compression

    string|false
    zstd_compress(string $data, int $level = 3)

    Zstandard compression.

    string|false
    zstd_compress_dict(string $data, string $dict)

    Zstandard compression using a digested dictionary.

    string|false
    zstd_compress_usingcdict(string $data, string $dict)

    Zstandard decompression using a digested dictionary.

    string|false
    zstd_decompress_dict(string $data, string $dict)

    Zstandard decompression using a digested dictionary.

    string|false
    zstd_decompress_usingcdict(string $data, string $dict)

    Zstandard decompression using a digested dictionary.

    string|false
    zstd_uncompress(string $data)

    Zstandard decompression.

    string|false
    zstd_uncompress_dict(string $data, string $dict)

    Zstandard decompression using a digested dictionary.

    string|false
    zstd_uncompress_usingcdict(string $data, string $dict)

    Zstandard decompression using a digested dictionary.

    Exceptions

    stub class representing AMQPException from pecl-amqp

    stub class representing AMQPExchangeException from pecl-amqp

    stub class representing AMQPExchangeValue from pecl-amqp

    stub class representing AMQPQueueException from pecl-amqp

    Exception thrown if a callback refers to an undefined function or if some arguments are missing.

    Exception thrown if a callback refers to an undefined method or if some arguments are missing.

    DOM operations raise exceptions under particular circumstances, i.e., when an operation is impossible to perform for logical reasons.

    Exception thrown if a value does not adhere to a defined valid data domain.

    An Error Exception.

    Class: GearmanException

    Exception thrown if an argument is not of the expected type.

    Class JsonException

    Exception thrown if a length is invalid.

    Exception that represents error in the program logic. This kind of exception should lead directly to a fix in your code.

    Base class for LuaSandbox exceptions.

    Exception thrown when Lua encounters an error inside an error handler.

    Uncatchable LuaSandbox exceptions.

    Exception thrown when Lua cannot allocate memory.

    Catchable LuaSandbox runtime exceptions.

    Exception thrown when Lua code cannot be parsed.

    Exception thrown when the configured CPU time limit is exceeded.

    (PECL mongo >= 1.5.0)

    (PECL mongo >= 1.5.0)

    (PECL mongo >= 1.5.0)

    (PECL mongo >= 1.3.0)

    (PECL mongo >= 1.5.0)

    Exception thrown if a value is not a valid key. This represents errors that cannot be detected at compile time.

    Exception thrown when an illegal index was requested. This represents errors that should be detected at compile time.

    Exception thrown when adding an element to a full container.

    Represents an error raised by PDO. You should not throw a PDOException from your own code.

    The PharException class provides a phar-specific exception class for try/catch blocks.

    Exception thrown to indicate range errors during program execution.

    This class serves two purposes: it is the type of the exceptions thrown by the RAR extension functions and methods and it allows, through static methods to query and define the error behaviour of the extension, i.e., whether exceptions are thrown or only warnings are emitted.
    The following error codes are used:

    • -1 - error outside UnRAR library
    • 11 - insufficient memory
    • 12 - bad data
    • 13 - bad archive
    • 14 - unknown format
    • 15 - file open error
    • 16 - file create error
    • 17 - file close error
    • 18 - read error
    • 19 - write error
    • 20 - buffer too small
    • 21 - unkown RAR error
    • 22 - password required but not given

    The ReflectionException class.

    Exception thrown if an error which can only be found on runtime occurs.

    Represents an error raised by SNMP. You should not throw a SNMPException from your own code.

    An error thrown by simdjson when processing json.

    Represents a SOAP fault.

    (PECL solr >= 0.9.2)
    Class SolrClientException
    An exception thrown when there is an error while making a request to the server from the client.

    (PECL solr >= 0.9.2)
    Class SolrException
    This is the base class for all exception thrown by the Solr extension classes.

    (PECL solr >= 1.1.0, >=2.0.0)
    Class SolrServerException
    An exception thrown when there is an error produced by the Solr Server itself.

    Exception thrown when performing an invalid operation on an empty container, such as removing an element.

    Exception thrown if a value does not match with a set of values. Typically this happens when a function calls another function and expects the return value to be of a certain type or value not including arithmetic or buffer related errors.

    Class Yar_Client_Exception Date 2018/6/9 下午3:05

    Class Yar_Server_Exception Date 2018/6/9 下午3:06

    This extension will throw instances of the class com_exception whenever there is a potentially fatal error reported by COM. All COM exceptions have a well-defined code property that corresponds to the HRESULT return value from the various COM operations. You may use this code to make programmatic decisions on how to handle the exception.

    mysqli_sql_exception